check_scstat.pl

check_scstat

Pplugin to check cluster status on Solaris. Requires utils.pm from Monitoring plugins.

The script checks nodes, paths, quorums, resources, resource groups and IPMP paths with a single run.

Usage:

./check_scstat.pl -w {w1,w2,w3} -c {c1,c2,c3}

Options: -w {w1,w2,w3} Warning if number of "Hosts,Paths,IPMP-Paths" fails
-c {c1,c2,c3} Critical if number of "Hosts,Paths,IPMP-Paths" fails
-h print this help

Example:

./check_scstat.pl -w 1,1,1 -c 1,2,2

Critical as well if: less quorums ok than needed or a resource or resource group is not online Warning as well if : less quorums ok than defined or a resource or resource group is online but not on the primary host