Apache Tomcat

check_tomcat_heap

Description:

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

Compatible With

  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI

Owner

License

GPL


Project Files
Project Notes
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 You can monitor any java application by using proper java process name For example tomcat process name 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
Reviews (1) Add a Review
Doesn't works
by jose.a.guardia, May 31, 2016

[/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}"



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4 (2)
Favorites
2
Views
19,139