Documentation
FCPAdapter-Check
Checks the status of fcp-adapters.
Usage
$ check_netapp_pro.pl FCPAdapter -H <host> [--ok_state=<regex>] [...] [--help]
Description
This plugin checks each fcp-adapters operational status. Alarms if an adapter status is not online (default).
Consider using -v
for inspection, if you are not satisfied with the result.
Related DataONTAP CLI commands (examples)::
sim9::> network fcp adapter show -fields status
node adapter status-oper
------- ------- -----------
sim9-01 0a online
sim9-01 0b online
sim9-01 0c online
sim9-01 0d online
sim9-01 0e online
5 entries were displayed.
Simple Examples
[S1] ./check_netapp_pro.pl FCPAdapter -H filer
Checks all fcp-adapters. Returns OK if every adpater is online.
[S2] ./check_netapp_pro.pl FCPAdapter -H filer -X '^(0e|0d)$'
Same as above, but excludes the adapters 0d and 0e.
[S3] ./check_netapp_pro.pl FCPAdapter -H filer --node=my_cluster-01
Checks only the adapters on node 01.
Advanced Examples
Hint: The input for advanced examples is shortend. Replace the '...' below with ‑H <your filers ip or host-name>
[A1] ./check_netapp_pro.pl FCPAdapter ... --ok_state='^(online|\Qofflined by user/system\E)$'
Checks all adapters. Online and offlined adapters are considered to be OK.