Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_sites_running.sh
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
Reviews (0)
Be the first to review this listing!