Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
A simple plugin that monitor tomcat, jboss and any java application HEAP level Memory utilization.
Current Version
1.5
Last Release Date
2015-04-06
Owner
pawan
License
GPL
Compatible With
This plugin will use to monitor HEAP Level of tomcat, jbossand any java application Memory Usages.
make sure java application name is correct. check_tomcat -p <process Name>
You can monitor any java application by using proper java process name
For example tomcat process name <Boot>
Usages in nrpe.conf: command[check_tomcat]=/usr/lib64/nagios/plugins/check_tomcat -p Boot -w 80 -c 90
Plugin will check exact usages of HEAP. it will Provide details of total heap and PERM Generation utilization details.
OUTPUT OF COMMAND:
./check_nrpe -H localhost -c check_tomcat
OK: Process Tomcat alive - pid=31268 heap=3196 MB;16384 MB;19 perm=170 MB;512 MB;33
<<< 3GB used out of 16GB, 19% used.
Specify the user name under which tomcat is deployed in plugin. Make sure nagios/nrpe have access to run java commands and setup in sudo. run Dos2unix to use this script
[/usr/local/nagios/libexec]# ./check_tomcat_heap.sh ./check_tomcat_heap.sh: 6: ./check_tomcat_heap.sh: Syntax error: "(" unexpected The line is: local prog="${1:-check_jstat.sh}"
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!