Installation guide
Appendix A. Check Commands for Customizable Services of Add_ons
75
Appendix A. Check Commands for Customizable Services of
Add_ons
This chapter describes the usage of the check commands by customizable services. These
commands are Linux commands. They run only under CYGWIN on Windows.
Internal Storage Management
NSMasterGAMTT
check_gamttRAID
check_gamttRAID uses the following shell (PERL) command:
Usage
check_gamttraid -H <host> [-C <community>] [-p <port>] [-t <timeout>]
{ [-A {ALL|<Ct>}] | [-P {ALL|<Ct>.<Ch>.<Tg>}] | [-L {ALL|<Ct>.<Ldn>}] }
[-v <vl>] [-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>.<Ch>.<Tg>
Physical device addr
-L, --logical ALL | <Ct>.<Ldn> Logical drive addr
-v, –-verbosity <vl> Verbosity level:
”0” None
”1” Adds the <CtrlModel> and the status of all controller
boards filtered
-f, --format <f> ”0” Carriage Return in ASCII mode (\n)
”1” Carriage Return in HTML mode (<br>)
Return code
OK (0), WARNING (1), CRITICAL (2), UNKNOWN (3)
• OK:
All ”logical drives” and all ”physical devices” run normally.