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
145228
Files:
FileDescription
check_suncluster.txtcheck_suncluster
test_check_suncluster.shtest_check_suncluster
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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.