Apache Tomcat

check_sites_running.sh

Description:

Check_Sites_Running.sh (sites running under TOMCAT)

This is my first Bash script, let alone first Nagios Script, so please excuse any errors, and I welcome advice.

I wrote this script as I didn’t have access to the management console for Tomcat without using multiple usernames and passwords, this runs locally or via NRPE, and will count the amount of Tomcat Sessions running on the local server.

Designed to check if too many TOMCAT sites have been created on a particular server.

Local Command line is

check_sites_running.sh -w X -c X

NRPE command
command[check_sites_running]=/usr/lib64/nagios/plugins/check_sites_running.sh -w X -c X

Current Version

1.0

Last Release Date

July 26, 2016

Compatible With

  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI

License

GPL


Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Project Files
Project Notes
Reviews (0) Add a Review
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
0 (0)
Favorites
0
Views
6,919