Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_serviceguard

Current Version
1.2.2
Last Release Date
2009-07-23
Compatible With
  • Nagios 2.x
  • Nagios 3.x
Hits
99751
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!
check_serviceguard
check_serviceguard is a plugin for Nagios that checks various aspects of a HP ServiceGuard cluster. The plugin checks cluster status, node and package status etc. It tries to be smart and minimizes the output, by letting only the first node (in the node list) that are up and running report any errors.

check_serviceguard is designed to be run locally with NRPE. Example:

$ check_serviceguard
OK - Cluster 'pgprod' is up, 3 nodes, 12 packages

If something is wrong, the plugin will report it:

$ check_serviceguard
[imap-cluster] Package 'lister-prod' is down (halted)

check_serviceguard uses the ServiceGuard command cmviewcl for all its work, and needs permission to run this command. The best way to accomplish this is to use 'sudo'. Edit the file '/etc/sudoers' (e.g. by running 'visudo' as root) and add the following line:

nagios ALL=NOPASSWD:/usr/local/cmcluster/bin/cmviewcl

If you run NRPE as another user than nagios, replace "nagios" with the appropriate user name. check_serviceguard will automatically use sudo unless it is run as root.