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
JMX attribute ActiveThreadCount has value 63|jboss.system:type=ServerInfo:ActiveThreadCount=63
So this is an example of it working, but now i want to check the used memory and when the free memory gets below a certain value, i need to get a CRIT...
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 ^^?
thanks in advance