Menu

#1759 5.4 network statistics only updated every 5 sec

linux
closed
nobody
None
3
2012-11-08
2007-01-17
Anonymous
No

Hello List!

I've installed net-snmp v5.2 from source-code on my Gentoo Linux machine with Linux Kernel 2.6.19.2 on an i686 Celeron (Coppermine) GenuineIntel Computer.

My snmpd.conf file contains only one line with the read only communityname.

Now, when i try to use snmpwalk and select my outgoing WAN-Device, the counters will only be updated every 5 seconds.

This give very bad results on Network-Grapher Programs like SNMPTrafficGrapher.

What is wrong with my Net-SNMP?

Best Regards,
Michael Rack
Germany.

Discussion

  • Thomas Anders

    Thomas Anders - 2007-01-17

    Logged In: YES
    user_id=848638
    Originator: NO

    If this really is 5.2, please retry with 5.4 instead. If it's 5.4 already, please say so.

     
  • Michael Rack - RSM Freilassing

    Logged In: YES
    user_id=624319
    Originator: NO

    So, now 5.2.3 was compiled on my system and i got the same result.

    I compiled v5.2 and v5.4 with the Protocoll SNMPv2.
    I got this very silly result on various machines that runs Gentoo Linux.

    Mike.

     
  • Thomas Anders

    Thomas Anders - 2007-01-18

    Logged In: YES
    user_id=848638
    Originator: NO

    The update every 5 sec by default is probably a deliberate compromise between "update as often as possible" and "don't waste too many agent cycles". I'd suggest to ask on the mailing list (search the archives first) where this default value can be adjusted.

     
  • Michael Rack - RSM Freilassing

    Logged In: YES
    user_id=624319
    Originator: NO

    Hi. Now i tried many versions an now i'm reached v5.2 (not v5.2.3). The results of v5.2 are fine.
    The counters are allready up2date without any delay. So it should be! Now i'm happy :-D

    Yours, Mike.

     
  • Dave Shield

    Dave Shield - 2007-01-22

    Logged In: YES
    user_id=88893
    Originator: NO

    Yes - caching is a deliberate design decision,
    for performance reasons.

    Note that the caching granularity of many tables
    can be controlled dynamically, via the
    NET-SNMP-AGENT-MIB::nsCacheTimeout MIB object.

    You can use this object to tweak the caching of the
    ifTable data (or nsCacheStatus) to turn off caching
    altogether.

     

Log in to post a comment.

MongoDB Logo MongoDB