Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_process_running (Anthony Affee)
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!
Tested on:
Nagios 3.x
CentOS 5.x
I originally created this script to monitor Taxware process 'jboss' but then decided to make it less specific.
This script only checks 3 status:
OK
Critical
Unknown
Copy the plugin in the nagios plugins directory.
Usage: ./check_process_running.sh SERVICE PROCESS_NAME
Example of Usage:
command[check_taxware]=/usr/lib64/nagios/plugins/check_process_running.sh jboss Taxware
Output:
Taxware OK - jboss is Running
Make sure Nagios user is allowed to access the plugin (use chmod to make it readable by Nagios user)
This script only checks 3 status:
OK
Critical
Unknown
Copy the plugin in the nagios plugins directory.
Usage: ./check_process_running.sh SERVICE PROCESS_NAME
Example of Usage:
command[check_taxware]=/usr/lib64/nagios/plugins/check_process_running.sh jboss Taxware
Output:
Taxware OK - jboss is Running
Make sure Nagios user is allowed to access the plugin (use chmod to make it readable by Nagios user)
Reviews (0)
Be the first to review this listing!