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_suncluster

Rating
0 votes
Favoured:
0
Hits
145470
Files:
FileDescription
check_suncluster.txtcheck_suncluster
test_check_suncluster.shtest_check_suncluster
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!
A script to verify that Sun Cluster resources are up and running.
My current project involves a few systems running Sun Cluster on Solaris. In order to monitor these systems with Nagios, I wrote the check_suncluster script. In places it's a bit of a kludge, but at least it works :)


Depending on the parameters you pass to it, the script returns the following:

* Transport paths return a WARN when one of the paths is down and a CRIT when all paths are offline.

* Quorum returns a WARN when not all, but enough quorum devices are available. It returns a CRIT when quorum cannot be reached.

* Resource groups returns a CRIT when a group is offline on all node and a WARN if a group is in an unstable state.

* Resources returns a CRIT when a resource is offline on all nodes and a WARN if a resource is in an unstable state.

* IPMP groups returns a CRIT when a group is offline.



Like all of my recent scripts, you can put the script in debugging mode by setting $DEBUG to "1". I've also included the test_check_suncluster script, which can be used to make sure the script itself is working like it should. If you ever run into problems with the check script, I'll probably ask you to run the test script to get as much info as I can.