PerfNic-Check
Checks transfer and errors per physical port (nic_common).
Usage
$ check_netapp_pro.pl PerfNic -H <host> [-z rx_crc_errors|total_bytes|...] [...] [--help]
Description
This plugin checks various performance counters of a NetApps physical network
interface (NIC). Among them several crc/transmit-error-counters to detect errors
on the physical network-layer.
BETA-RELEASE WARNING:
the following counters are of type delta and their math may be wrong.
Please report if you have doubts about their results:
rx_crc_errors
rx_total_bytes
tx_hw_errors
A complete list of supported counters is printed via the --counter
switch.
Hint: Calling the getter with the switch --discover=counters
will explain each available counter in detail.
[S1] ./check_netapp_pro.pl PerfNic -H filer --explore=counters List all available counters.
Counters (unit) supported by nic_common: instance_name (-) instance_uuid (-) node_name (-) rx_bytes (B/s) rx_crc_errors (-) rx_errors (B/s) rx_frames (/s) rx_total_bytes (-) total_bytes (B/s) total_errors (B/s) tx_bytes (B/s) tx_errors (B/s) tx_frames (/s) tx_hw_errors (-)
Please enable JavaScript!
[S2] ./check_netapp_pro.pl PerfNic -H filer Checks all interfaces using the default thresholds.
NETAPP_PRO PERFNIC CRITICAL - 4 nic_commons checked, 1 critical and 0 warning No SVC-ACK relevant changes in reason. sim96cluster-01:e0a (sim96cluster-01:kernel:e0a): 2586.8B/s total_bytes (CRITICAL) sim96cluster-01:e0b (sim96cluster-01:kernel:e0b): 0.0B/s total_bytes sim96cluster-01:e0c (sim96cluster-01:kernel:e0c): 0.0B/s total_bytes sim96cluster-01:e0d (sim96cluster-01:kernel:e0d): 0.0B/s total_bytes | sim96cluster-01:e0a=2587B/s;10;20;0; sim96cluster-01:e0b=0B/s;10;20;0; sim96cluster-01:e0c=0B/s;10;20;0; sim96cluster-01:e0d=0B/s;10;20;0;
Please enable JavaScript!
[S3] ./check_netapp_pro.pl PerfNic -H filer -z total_errors -w 1 -c 5 Checks all interfaces for errors.
NETAPP_PRO PERFNIC OK - 4 nic_commons checked sim96cluster-01:e0a (sim96cluster-01:kernel:e0a): 0.0B/s total_errors sim96cluster-01:e0b (sim96cluster-01:kernel:e0b): 0.0B/s total_errors sim96cluster-01:e0c (sim96cluster-01:kernel:e0c): 0.0B/s total_errors sim96cluster-01:e0d (sim96cluster-01:kernel:e0d): 0.0B/s total_errors | sim96cluster-01:e0a=0B/s;1;5;0; sim96cluster-01:e0b=0B/s;1;5;0; sim96cluster-01:e0c=0B/s;1;5;0; sim96cluster-01:e0d=0B/s;1;5;0;
Please enable JavaScript!