using jboss objects
Hi all
I need to make a script that controls or checks certain assets of a JBoss server. Like if the server is running or down, or how much memory he uses, etc. Now, via the website of Nagios, i've found a script which i can use Code:
# ./check_mbean_collector -H host -p 5566 -m jboss.system:type=ServerInfo -a ActiveThreadCount -w 200 -c 400 Where can i find the things i need to check on this? On the JBoss server i get an overview of everything, but i really don't have a clue where to start looking... Can someone help me with this ^^? :hattip: thanks in advance |
UPDATE
okay, i've found it :p Code:
# ./check_mbean_collector -H host -p 5566 -m jboss.system:type=ServerInfo -a FreeMemory -w 460280464 -c 500000000 but that doesn't matter, so when i run this i get the result as you see above when i run this through Centreon/Nagios i get an Ok or CRIT or whatever when the value gets above a certain value. So actually i get a WARNING when the free memory gets ABOVE a certain value (that doesn't make sense.. because i need to know when it gets BELOW a certain value...) how can i manage this? Thanks :hattip: |
NRPE unable to read output
hi
i am using the same plugin its showing the output as you have given when executed directly but when i am tryingto execute it through NRPE is showing "NRPE unable to read output". May i know how do you incorporated this plugin in your nagios. |
All times are GMT -5. The time now is 03:45 AM. |