IfGrp-Check
Checks if an interface-group has enough links in up-state.
Usage
$ check_netapp_pro.pl IfGrp -H <host> -w <n> -c <n> [...] [--help]
Description
This plugin checks each interface-group for redundancy.
Alarms if the number of links (interfaces) with a state of up falls below a
configurable threshold.
The interfaces link-state is determined out of the mediatypes (e.g.
auto-1000t-fd-up
or auto-1000t-fd-down
) last part.
Consider using -v
for inspection, if you are not satisfied with the result.
[S1] ./check_netapp_pro.pl IfGrp -H filer -w 2 -c 1 Checks all interface-groups. Returns OK if each ifgroup has at least 2 interfaces up.
NETAPP_PRO IFGRP WARNING - 2 ifgroups checked, 0 critical and 1 warning. ifgrp0:e0c(up) ifgrp0:e0d(down) ifgrp1:e0a(up) ifgrp1:e0b(up) No SVC-ACK relevant changes in reason. ifgrp0: 1 (WARNING) ifgrp1: 2 | ifgrp0=1;2;1;0;2 ifgrp1=2;2;1;0;2
Please enable JavaScript!
[S2] ./check_netapp_pro.pl IfGrp -H filer Checks all interface-groups using the default thresholds on all nodes (cluster-mode example).
NETAPP_PRO IFGRP WARNING - 2 ifgroups checked, 0 critical and 2 warning. a0a:e0e(up) a0a:e0f(up) a0a:e0e(up) a0a:e0f(up) No SVC-ACK relevant changes in reason. a0a (MyStore-01): 2 (WARNING) a0a (MyStore-02): 2 (WARNING) | a0a=2;3;2;0;2 a0a=2;3;2;0;2
Please enable JavaScript!
[S3] ./check_netapp_pro.pl IfGrp -H filer --node=MyStore-01 Checks all interface-groups using the default thresholds but only on node MyStore-01 (cluster-mode example).
NETAPP_PRO IFGRP WARNING - 1 ifgroup checked, 0 critical and 1 warning. a0a:e0e(up) a0a:e0f(up) No SVC-ACK relevant changes in reason. a0a (MyStore-01): 2 (WARNING) | a0a=2;3;2;0;2
Please enable JavaScript!