Weird, from the output it seems jffnms needs rw access to snmp to retrieve info about the interfaces, but in theory ro access is enough. I've tried with snmpwalk -v 1 -c public localhost ifTable and it's reporting correctly. Maybe the problem is on jffnms, I'm using 0.8.1.
Best regards, Eduardo On Apr 7, 2005 3:46 AM, Javier Szyszlican <[EMAIL PROTECTED]> wrote: > iptables does not work in 0.8.1, but it does in our current 0.8.2-pre > releases. > > Somehow net-snmp is not reporting the correct values for the network > interfaces. > > Javier > > > Eduardo Fern�ndez wrote: > > I use net-snmp version 5.1.2-6.1 under debian sarge. This is my snmpd.conf: > > > > # > > rwuser edu auth > > rouser jffnms auth .1.3.6.1.4.1.8072 > > rocommunity public localhost > > rwcommunity private localhost > > proc dnscache 2 1 > > disk /var 10% > > load 2 3 3 > > syslocation "CMU San Juan Evangelista" > > syscontact [EMAIL PROTECTED] > > 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 > > # > > > > BTW, last "pass" line's not working. Don't know why. > > > > �Gracias! > > Edu > > > > On Apr 7, 2005 3:35 AM, Javier Szyszlican <[EMAIL PROTECTED]> wrote: > > > >>Your server is not returning traffic values for your interfaces. > >> > >>Which SNMP agent do you use, on which platform? OS? > >> > >>Javier > >> > >>Eduardo Fern�ndez wrote: > >> > >>>Hi again! > >>> > >>>On Apr 7, 2005 3:02 AM, Javier Szyszlican <[EMAIL PROTECTED]> wrote: > >>> > >>> > >>>>Did you wait a few minutes to see data in the graphs? > >>> > >>> > >>>Yep, I waited for an hour. > >>> > >>> > >>> > >>>>Do you see "NaN" or just no graphs? > >>> > >>> > >>>No graphs. But for an ethernet interface, max, min and average show 'nan'. > >>> > >>> > >>> > >>>>Can you show us the output of a poller? > >>> > >>> > >>>horus:/home/jffnms/jffnms-0.8.1/engine# sudo -u jffnms /usr/bin/php -q > >>>poller.php 3 > >>>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. > >>> > >>>Thanks! > >>> > >>>Edu > >>> > >>> > >>> > >>>># cd /opt/jffnms/engine > >>>># php -q poller.php <Host ID> > >>>> > >>>>Host ID is the "ID" field in the hosts screen, NOT the host ip or name. > >>>> > >>>>Javier > >>>> > >>>>Eduardo Fern�ndez wrote: > >>>> > >>>> > >>>>>Hi all, > >>>>> > >>>>>First of all, big up to Javier for his great work! > >>>>> > >>>>>Now, I just installed jffnms, and I noticed that all the graphs are > >>>>>empty!! I don't understand why, I tried several of them, for memory, > >>>>>cpu, traffic... no luck. I can see the jobs running in the logs and > >>>>>the rrd files being modified. Any hints? > >>>>> > >>>>>Thanks in advance! > >>>>> > >>>>>Eduardo > >>>>> > >>>>> > >>>>>------------------------------------------------------- > >>>>>SF email is sponsored by - The IT Product Guide > >>>>>Read honest & candid reviews on hundreds of IT Products from real users. > >>>>>Discover which products truly live up to the hype. Start reading now. > >>>>>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > >>>>>_______________________________________________ > >>>>>jffnms-users mailing list > >>>>>[email protected] > >>>>>https://lists.sourceforge.net/lists/listinfo/jffnms-users > >>>> > >>>>-- > >>>>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > >>>>Javier Szyszlican, Project Leader, JFFNMS > >>>>[EMAIL PROTECTED] > >>>> > >>>>I hope JFFNMS or I were helpful to you, if you > >>>>can, please donate at http://jffnms.org/donate > >>>> > >>>>------------------------------------------------------- > >>>>SF email is sponsored by - The IT Product Guide > >>>>Read honest & candid reviews on hundreds of IT Products from real users. > >>>>Discover which products truly live up to the hype. Start reading now. > >>>>http://ads.osdn.com/?ad_ide95&alloc_id396&opclick > >>>>_______________________________________________ > >>>>jffnms-users mailing list > >>>>[email protected] > >>>>https://lists.sourceforge.net/lists/listinfo/jffnms-users > >>>> > >>> > >>> > >>> > >>>------------------------------------------------------- > >>>SF email is sponsored by - The IT Product Guide > >>>Read honest & candid reviews on hundreds of IT Products from real users. > >>>Discover which products truly live up to the hype. Start reading now. > >>>http://ads.osdn.com/?ad_ide95&alloc_id396&op=click > >>>_______________________________________________ > >>>jffnms-users mailing list > >>>[email protected] > >>>https://lists.sourceforge.net/lists/listinfo/jffnms-users > >> > >>-- > >>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > >>Javier Szyszlican, Project Leader, JFFNMS > >>[EMAIL PROTECTED] > >> > >>I hope JFFNMS or I were helpful to you, if you > >>can, please donate at http://jffnms.org/donate > >> > >>------------------------------------------------------- > >>SF email is sponsored by - The IT Product Guide > >>Read honest & candid reviews on hundreds of IT Products from real users. > >>Discover which products truly live up to the hype. Start reading now. > >>http://ads.osdn.com/?ad_ide95&alloc_id396&opclick > >>_______________________________________________ > >>jffnms-users mailing list > >>[email protected] > >>https://lists.sourceforge.net/lists/listinfo/jffnms-users > >> > > -- > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > Javier Szyszlican, Project Leader, JFFNMS > [EMAIL PROTECTED] > > I hope JFFNMS or I were helpful to you, if you > can, please donate at http://jffnms.org/donate > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ jffnms-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jffnms-users
