Installation guide
80 NovaScale Master 5.2-x Server Add-ons - Installation and Administrator's Guide
NSMasterMegaRaidSAS
check_MegaRaidSAS(_IR)
check_MegaRaidSAS(_IR) uses the following shell (PERL) command:
Usage
check_MegaRaidSAS(_IR)
-H <host> [-C <community>] [-p <port>]
[-t <timeout>] { [-A {ALL|<Ct>}] | [-P {ALL|<Ct.Pdn>}] |
[-L {ALL|<Ct.Ldn>}] } [-f <f>]
-H, --hostname <host> Hostname or IP address of target to check
-C, --community <community> SNMP community string (defaults to ”public”)
-p, --port <port> SNMP port (defaults to 161)
-t, --timeout <timeout> Seconds before timing out (defaults to Nagios timeout
value)
-A, --adapter ALL | <Ct> Controller board
-P, --physical ALL | <Ct.Pdn> Physical device identifier
-L, --logical ALL | <Ct.Ldn> Virtual drive identifier
-f, --format <f> ”0” Carriage Return in HTML mode (<br>)
”1” Carriage Return in ASCII mode (\n)
Return code
OK (0), WARNING (1), CRITICAL (2), UNKNOWN (3)
• OK:
All ”logical drives” and all ”physical devices” run normally.
• WARNING:
At least one ”logical drive” or one ”physical device” is in a WARNING state.
• CRITICAL:
At least one ”logical drive” or one ”physical device” is in a CRITICAL state.
• UNKNOWN
All other types of processing errors (bad parameter, no response, and so on…).
Note:
In the case of multiple errors, the global state will be the worst one; CRITICAL > WARNING >
OK.
Output
A string composed with a global state descriptor followed, if they exist, by error states of
concerned component (controller, Logical Device, Physical Device).