hi, resim zapeklity problem s monitoringem ethernetoveho provozu v centreonu.
k monitoringu pouzivam service check_centreon_traffic, coz je dle definice commands toto:
$USER1$/check_centreon_snmp_traffic -H $HOSTADDRESS$ --disable-warn-state --64-bits -n -i $ARG1$ -w $ARG2$ -c $ARG3$ -v $_HOSTSNMPVERSION$ -C $_HOSTSNMPCOMMUNITY$
ARG1 je nazev interface (napr. eth0), ARG2 je warnlevel a ARG3 critical level.
vypis nekterych klicovych souboru:
root@monitor4:/var/lib/centreon/centplugins# cat traffic_cache_192.168.3.252
1372240585
1;lo
2;eth0
3;eth1
4;eth2
root@monitor4:/var/lib/centreon/centplugins# cat traffic_if3_192.168.3.252
1372245685:1976559371712:1272153373496
root@monitor4:/var/lib/centreon/centplugins# cat traffic_if4_192.168.3.252
1372245409:57410643440:54048
root@monitor4:/var/lib/centreon/centplugins# cat traffic_if2_192.168.3.252
1372245648:303689023992:6845956642080
tusite nekdo v cem je problem, ze to zobrazuje CRITICAL: Interface speed equal 0! Interface must be down.|traffic_in=0B/s traffic_out=0B/s
deje se to hlavne na XEN VPS, u fyzickych stroju to normalne zobrazuje vysledky. snmp je na vsech strojich plne funkcni, pouzivam snmp v2
Dik za kazdou radu.