Installation guide
Appendix A. Check Commands for Customizable Services of Add_ons
83
External Storage Management
NSMasterStoreWayFDA
check_NECFDA
check_NECFDA uses the following shell (PERL) command:
Usage
check_necfda -H <host> [-C <community>] [-p <port>] [-t <timeout>]
[-f <f>]
-H, --hostname <host> Hostname or IP address of the 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)
-f, --format <f> ”0” Carriage Return in ASCII mode (\n)
”1” Carriage Return in HTML mode (<br>)
check_necfda –help
-h, --help Display help
check_necfda –version
-V, --version Display version
Return code
OK (0), WARNING (1), CRITICAL (2), UNKNOWN (3)
Output
The first line shows the global state with the following format:
necfda <GlobalStatus>
<GlobalStatus> Most severe state detected on a controller.