網卡流量狀況 CRITICAL 01-19-2015 10:16:30 1d 11h 26m 34s 4/4 CHECK_NRPE: Socket timeout after 10 seconds.
[root@****]# /usr/local/nagios/libexec/check_traffic.sh -V 2c -C nagios -H localhost -I 2 -w 12,30 -c 15,35 -M -b
Timeout: No Response from localhost.
一般是snmp進程掛了
輸入#service snmpd restart
再次執行
[root@v-as-rest001 etc]# /usr/local/nagios/libexec/check_traffic.sh -V 2c -C nagios -H localhost -I 2 -w 12,30 -c 15,35 -M -b
OK – The Traffic In is 0.0Mbps, Out is 0.0Mbps, Total is 0.0Mbps. The Check Interval is 113s |In=0.0Mbps;12;15;0;0 Out=0.0Mbps;30;35;0;0 Total=0.0Mbps;42;50;0;0 Interval=113s;1200;1800;0;0