Eduardo Fernández
2005-Apr-07 14:39 UTC
[OT] snmp not reporting traffic values for a network interface
Hi all! I know this is quite offtopic, but I found nothing in google nor in the net-snmp mailing list, and I know there''s a lot of people here graphing with snmp+rrdtool. I installed net-snmp 5.1.2-6.1 in Debian to produce graphs for some ethernet interfaces. It seems it''s not reporting correct values for them. Here''s my snmpd.conf (very simple) and the output from the poller program: #snmpd.conf rwuser edu auth rouser jffnms auth .1.3.6.1.4.1.8072 rocommunity public localhost rwcommunity private localhost pass .1.3.6.1.4.1.2021.5001 /usr/bin/php -q /home/jffnms/jffnms-0.8.1/docs/utils/jffnms-snmp/jffnms-snmp.php tc .1.3.6.1.4.1.2021.5001 pass .1.3.6.1.4.1.2021.5002 /usr/bin/php -q /home/jffnms/jffnms-0.8.1/docs/utils/jffnms-snmp/jffnms-snmp.php iptables .1.3.6.1.4.1.2021.5002 # And this is the output from the poller php program: 03:24:15 : H 3 : Poller Start : 77 Items. 03:24:15 : H 3 : I 18 : P 10 : verify_interface_number(): 4 -> verify_interface_number(): interfacenumber not changed (time P:47.16 | 1.38) 03:24:15 : H 3 : I 19 : P 10 : verify_interface_number(): 5 -> verify_interface_number(): interfacenumber not changed (time P:45.95 | 1.06) 03:24:15 : H 3 : I 20 : P 10 : snmp_counter:storage_block_size(.1.3..4.2): 1024 -> buffer(): 1 (time P:48.36 | 0.46) 03:24:15 : H 3 : I 21 : P 10 : snmp_counter:cpu_nice_ticks(.1.3..1.0): 1744 -> buffer(): 2 (time P:47 | 0.18) Error in packet. Reason: notWritable (that object does not support modification) Failed object: SNMPv2-SMI::enterprises.9.9.16.1.1.1.16.1918 03:24:15 : H 3 : I 18 : P 15 : cisco_snmp_ping_start:cisco_snmp_ping_start(): -5 -> buffer(): 3 (time P:47.67 | 0.21) Error in packet. Reason: notWritable (that object does not support modification) Failed object: SNMPv2-SMI::enterprises.9.9.16.1.1.1.16.1919 03:24:15 : H 3 : I 19 : P 15 : cisco_snmp_ping_start:cisco_snmp_ping_start(): -5 -> buffer(): 4 (time P:47.76 | 0.36) 03:24:15 : H 3 : I 21 : P 15 : snmp_counter:num_procs(.1.3..6.0): 65 -> buffer(): 5 (time P:46.83 | 0.18) 03:24:15 : H 3 : I 18 : P 16 : interface_oper_status(8): up -> alarm(3,,180): Nothing was done (time P:92.45 | 1.18) 03:24:15 : H 3 : I 19 : P 16 : interface_oper_status(8): up -> alarm(3,,180): Nothing was done (time P:48.6 | 0.69) 03:24:15 : H 3 : I 18 : P 17 : interface_admin_status(7): up -> db(show_rootmap,down=2|up=1,0): 0 (time P:94.33 | 0.48) 03:24:15 : H 3 : I 19 : P 17 : interface_admin_status(7): up -> db(show_rootmap,down=2|up=1,0): 0 (time P:48.37 | 0.19) 03:24:15 : H 3 : I 18 : P 20 : snmp_counter:input(.1.3..6.4): -> buffer(): 6 (time P:92.75 | 0.2) 03:24:15 : H 3 : I 19 : P 20 : snmp_counter:input(.1.3..6.5): -> buffer(): 7 (time P:95.09 | 0.2) 03:24:16 : H 3 : I 20 : P 20 : snmp_counter:storage_block_count(.1.3..5.2): 516244 -> buffer(): 8 (time P:46.49 | 0.2) 03:24:16 : H 3 : I 21 : P 20 : snmp_counter:cpu_user_ticks(.1.3..0.0): 1265843 -> buffer(): 9 (time P:46.66 | 0.2) 03:24:16 : H 3 : I 18 : P 25 : snmp_counter:inpackets(.1.3..7.4): -> buffer(): 10 (time P:92.8 | 0.21) 03:24:16 : H 3 : I 19 : P 25 : snmp_counter:inpackets(.1.3..7.5): -> buffer(): 11 (time P:92.43 | 0.2) 03:24:16 : H 3 : I 21 : P 25 : snmp_counter:num_users(.1.3..5.0): 1 -> buffer(): 12 (time P:46.07 | 0.18) 03:24:16 : H 3 : I 18 : P 30 : snmp_counter:output(.1.3..0.4): -> buffer(): 13 (time P:93.11 | 0.22) 03:24:16 : H 3 : I 19 : P 30 : snmp_counter:output(.1.3..0.5): -> buffer(): 14 (time P:92.44 | 0.3) 03:24:16 : H 3 : I 20 : P 30 : snmp_counter:storage_used_blocks(.1.3..6.2): 484896 -> buffer(): 15 (time P:47.21 | 0.19) 03:24:16 : H 3 : I 21 : P 30 : snmp_counter:cpu_idle_ticks(.1.3..3.0): 175208735 -> buffer(): 16 (time P:45.85 | 0.18) 03:24:16 : H 3 : I 18 : P 35 : snmp_counter:outpackets(.1.3..1.4): -> buffer(): 17 (time P:99.65 | 0.2) 03:24:16 : H 3 : I 19 : P 35 : snmp_counter:outpackets(.1.3..1.5): -> buffer(): 18 (time P:91.52 | 0.21) 03:24:16 : H 3 : I 21 : P 35 : snmp_counter:tcp_established(.1.3..9.0): 3 -> buffer(): 19 (time P:46.5 | 0.19) 03:24:16 : H 3 : I 18 : P 40 : snmp_counter:outputerrors(.1.3..0.4): 527 -> buffer(): 20 (time P:47.91 | 0.2) 03:24:16 : H 3 : I 19 : P 40 : snmp_counter:outputerrors(.1.3..0.5): 0 -> buffer(): 21 (time P:47.89 | 0.22) 03:24:16 : H 3 : I 21 : P 40 : snmp_counter:cpu_system_ticks(.1.3..2.0): 4546939 -> buffer(): 22 (time P:46.32 | 0.21) 03:24:17 : H 3 : I 18 : P 45 : snmp_counter:inputerrors(.1.3..4.4): 0 -> buffer(): 23 (time P:47.99 | 0.21) 03:24:17 : H 3 : I 19 : P 45 : snmp_counter:inputerrors(.1.3..4.5): 44135 -> buffer(): 24 (time P:48.11 | 0.21) 03:24:17 : H 3 : I 21 : P 45 : snmp_counter:tcp_active(.1.3..5.0): 15380 -> buffer(): 25 (time P:46.49 | 0.2) 03:24:17 : H 3 : I 18 : P 46 : snmp_counter:drops(.1.3..9.4): 0 -> buffer(): 26 (time P:47.43 | 0.21) 03:24:17 : H 3 : I 19 : P 46 : snmp_counter:drops(.1.3..9.5): 0 -> buffer(): 27 (time P:48.08 | 0.33) 03:24:17 : H 3 : I 18 : P 47 : db:bandwidthin(band..tes): 12500000 -> buffer(): 28 (time P:0.4 | 0.18) 03:24:17 : H 3 : I 19 : P 47 : db:bandwidthin(band..tes): 12500000 -> buffer(): 29 (time P:0.14 | 0.19) 03:24:17 : H 3 : I 18 : P 48 : db:bandwidthout(band..tes): 12500000 -> buffer(): 30 (time P:0.1 | 0.14) 03:24:17 : H 3 : I 19 : P 48 : db:bandwidthout(band..tes): 12500000 -> buffer(): 31 (time P:0.08 | 0.14) 03:24:17 : H 3 : I 18 : P 50 : cisco_snmp_ping_wait(): -1 -> no_backend(): 0 (time P:0.47 | 0.22) 03:24:17 : H 3 : I 19 : P 50 : cisco_snmp_ping_wait(): -1 -> no_backend(): 0 (time P:0.19 | 0.08) 03:24:17 : H 3 : I 21 : P 50 : snmp_counter:load_average_1(.1.3..3.1): 0.21 -> buffer(): 32 (time P:46.3 | 0.22) 03:24:17 : H 3 : I 18 : P 55 : cisco_snmp_ping_get_pl:packetloss(): 0 -> buffer(): 33 (time P:0.43 | 0.17) 03:24:17 : H 3 : I 19 : P 55 : cisco_snmp_ping_get_pl:packetloss(): 0 -> buffer(): 34 (time P:0.19 | 0.15) 03:24:17 : H 3 : I 21 : P 55 : snmp_counter:tcp_passive(.1.3..6.0): 26279 -> buffer(): 35 (time P:46.14 | 0.28) 03:24:17 : H 3 : I 18 : P 60 : cisco_snmp_ping_get_rtt:rtt(): 0 -> buffer(): 36 (time P:0.43 | 0.17) 03:24:17 : H 3 : I 19 : P 60 : cisco_snmp_ping_get_rtt:rtt(): 0 -> buffer(): 37 (time P:0.18 | 0.15) 03:24:17 : H 3 : I 20 : P 60 : no_poller(): 0 -> rrd(*): storage_block_size:1024 - storage_block_count:516244 - storage_used_blocks:484896 (time P:0.21 | 21.22) 03:24:17 : H 3 : I 21 : P 60 : snmp_counter:load_average_5(.1.3..3.2): 0.10 -> buffer(): 38 (time P:47.36 | 0.21) Error in packet. Reason: notWritable (that object does not support modification) Failed object: SNMPv2-SMI::enterprises.9.9.16.1.1.1.16.1918 03:24:17 : H 3 : I 18 : P 65 : cisco_snmp_ping_end(): 1 -> no_backend(): 0 (time P:46.91 | 0.14) Error in packet. Reason: notWritable (that object does not support modification) Failed object: SNMPv2-SMI::enterprises.9.9.16.1.1.1.16.1919 03:24:17 : H 3 : I 19 : P 65 : cisco_snmp_ping_end(): 1 -> no_backend(): 0 (time P:47.34 | 0.13) 03:24:17 : H 3 : I 21 : P 70 : snmp_counter:load_average_15(.1.3..3.3): 0.03 -> buffer(): 39 (time P:46.36 | 0.21) 03:24:17 : H 3 : I 18 : P 80 : no_poller(): 0 -> rrd(*): inputerrors:0 - outputerrors:527 - rtt:0 - packetloss:0 - drops:0 - bandwidthin:12500000 - bandwidthout:12500000 (time P:0.09 | 33.92) 03:24:17 : H 3 : I 19 : P 80 : no_poller(): 0 -> rrd(*): inputerrors:44135 - outputerrors:0 - rtt:0 - packetloss:0 - drops:0 - bandwidthin:12500000 - bandwidthout:12500000 (time P:0.09 | 33.35) 03:24:17 : H 3 : I 21 : P 80 : no_poller(): 0 -> rrd(*): cpu_user_ticks:1265843 - cpu_idle_ticks:175208735 - cpu_nice_ticks:1744 - cpu_system_ticks:4546939 - load_average_1:0.21 - load_average_5:0.10 - load_average_15:0.03 - num_users:1 - num_procs:65 - tcp_active:15380 - tcp_passive:26279 - tcp_established:3 (time P:0.09 | 52.32) 03:24:18 : H 3 : I 22 : P 91 : verify_tc_number(): 401001 -> verify_interface_number(): index not changed (time P:542.48 | 1.26) 03:24:18 : H 3 : I 23 : P 91 : verify_tc_number(): 401010 -> verify_interface_number(): index not changed (time P:0.2 | 1.11) 03:24:18 : H 3 : I 24 : P 91 : verify_tc_number(): 401020 -> verify_interface_number(): index not changed (time P:0.15 | 1.3) 03:24:18 : H 3 : I 25 : P 91 : verify_tc_number(): 401030 -> verify_interface_number(): index not changed (time P:0.18 | 1.01) 03:24:18 : H 3 : I 22 : P 92 : snmp_counter:bytes(.1.3..001): 799202719 -> buffer(): 40 (time P:140.11 | 0.21) 03:24:18 : H 3 : I 23 : P 92 : snmp_counter:bytes(.1.3..010): 762954168 -> buffer(): 41 (time P:147.44 | 0.21) 03:24:18 : H 3 : I 24 : P 92 : snmp_counter:bytes(.1.3..020): 2067148176 -> buffer(): 42 (time P:144.34 | 0.21) 03:24:18 : H 3 : I 25 : P 92 : snmp_counter:bytes(.1.3..030): 257803531 -> buffer(): 43 (time P:331.23 | 0.22) 03:24:19 : H 3 : I 22 : P 93 : snmp_counter:packets(.1.3..001): 340106503 -> buffer(): 44 (time P:231.27 | 0.25) 03:24:19 : H 3 : I 23 : P 93 : snmp_counter:packets(.1.3..010): 59595638 -> buffer(): 45 (time P:209.5 | 0.23) 03:24:19 : H 3 : I 24 : P 93 : snmp_counter:packets(.1.3..020): 77197651 -> buffer(): 46 (time P:259 | 0.22) 03:24:19 : H 3 : I 25 : P 93 : snmp_counter:packets(.1.3..030): 203313329 -> buffer(): 47 (time P:245.36 | 0.27) 03:24:19 : H 3 : I 22 : P 94 : no_poller(): 0 -> rrd(*): bytes:799202719 - packets:340106503 (time P:0.09 | 10.09) 03:24:19 : H 3 : I 23 : P 94 : no_poller(): 0 -> rrd(*): bytes:762954168 - packets:59595638 (time P:0.09 | 10.5) 03:24:19 : H 3 : I 24 : P 94 : no_poller(): 0 -> rrd(*): bytes:2067148176 - packets:77197651 (time P:0.09 | 11.58) 03:24:19 : H 3 : I 25 : P 94 : no_poller(): 0 -> rrd(*): bytes:257803531 - packets:203313329 (time P:0.09 | 10.41) 03:24:19 : H 3 : I 18 : P LPD : last_poll_date(): 1112837057 -> db(last_poll_date): 1 (time P:0.28 | 4.35) 03:24:19 : H 3 : I 19 : P LPD : last_poll_date(): 1112837057 -> db(last_poll_date): 1 (time P:0.14 | 4.24) 03:24:19 : H 3 : I 20 : P LPD : last_poll_date(): 1112837057 -> db(last_poll_date): 1 (time P:0.09 | 2.74) 03:24:19 : H 3 : I 21 : P LPD : last_poll_date(): 1112837057 -> db(last_poll_date): 1 (time P:0.13 | 2.27) 03:24:19 : H 3 : I 22 : P LPD : last_poll_date(): 1112837059 -> db(last_poll_date): 1 (time P:0.13 | 2.77) 03:24:19 : H 3 : I 23 : P LPD : last_poll_date(): 1112837059 -> db(last_poll_date): 1 (time P:0.1 | 2.73) 03:24:19 : H 3 : I 24 : P LPD : last_poll_date(): 1112837059 -> db(last_poll_date): 1 (time P:0.09 | 2.84) 03:24:19 : H 3 : I 25 : P LPD : last_poll_date(): 1112837059 -> db(last_poll_date): 1 (time P:0.14 | 2.69) 03:24:19 : H 3 : Poller End, Total Time: 4859.98 msec. Any hints? Thank you very much in advance! And keep up the hard work! Best regards, Eduardo