-
Notifications
You must be signed in to change notification settings - Fork 29
Nagios Plugin check_fc
Davide Madrisan edited this page Feb 16, 2017
·
1 revision
check_fc - monitors the status of the fiber status ports
[/etc/nrpe.d/check_fc]
command[check_fc]=/usr/lib/nagios/plugins/check_fc -c 2:
This plugin monitors the status of the fiber status ports.
Copyright (C) 2015 Davide Madrisan <[email protected]>
Usage:
check_fc -w COUNTER -c COUNTER [delay [count]]
Options:
-w, --warning COUNTER warning threshold
-c, --critical COUNTER critical threshold
-v, --verbose show details for command-line debugging (Nagios may truncate output)
-i, --fchostinfo show the fc_host class object attributes
-h, --help display this help and exit
-V, --version output version information and exit
delay is the delay between updates in seconds (default: 1sec)
count is the number of updates (default: 2)
1 means the total inbound/outbound traffic from boottime.
Examples:
check_fc -c 2:
check_fc -i -v
fc OK | Fiber Channel ports status: 4/4 Online
rx_frames
tx_frames
error_frames
invalid_crc_count
link_failure_count
loss_of_signal_count
loss_of_sync_count