hello,
software we are developing monitors bandwidth of network interfaces every
second. This works fine on freebsd machines with net-snmp 4.2.6, but on linux
machines (debian4/net-snmp 5.2.3-7) every counter is being cached for 30
seconds. I am not sure what makes impact - OS or net-snmp version, so am
applying for your help.
for unknown reasons the following command doesn't seems to have any effect:
snmpset -v 2c -c private localhost UCD-SNMP-MIB:versionClearCache.0 = 1
it returns no errors, verbose output shows the snmpd has successfuly been
feeded with this but it has absolutely no efffect.
As far as I understand it should immediately update snmp counters with the
fresh values instead of caching them for 30sec, at least man page says so:
"The agent caches the exit status and STDOUT of the exe-
cuted program for 30 seconds after the initial query.
This is to increase speed and maintain consistency of
information for consecutive table queries. The cache can
be flushed by a snmp-set request of integer(1) to
1.3.6.1.4.1.2021.100.VERCLEARCACHE."
any ideas on solving this problem?
thank you
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users