check_scstat.pl

Bookmark and Share

Rating
0 votes
Favoured:
0
Hits
83362
Files:
FileDescription
check_scstat.plcheck_scstat plugin
Another script for checking sun cluster.
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