Hi, I need to speed up the refresh time (changing the cache time) of some OIDs (for example hrProcessorLoad <.1.3.6.1.2.1.25.3.3.1.2> which is set in 60 seconds (empirically), hrSWRunPerfMem <.1.3.6.1.2.1.25.5.1.1.2> which is set in 120 seconds (empirically), etc).
I´m actually trying it on Windows XP Profesional (versión 2002, Service Pack3), but in the future I should install it on Windows 7. I´m running the net-snmp-5.6.1.1-1.win32.exe ( Build date: 2011-08-09), which was installed selecting “with Windows Extention” instead of standard agent, and unselecting “net-snmp trap service” and “Perl SNMP modules”, in order to be able to load the Windows SNMP service extension DLLs by the Net-SNMP agent, as it´s described in the following link: http://honglus.blogspot.com.ar/2013/02/monitor-customized-application-in.html And it worked because I was able to reach the HostResourcesMIB. As far as I know it is possible to change the OIDs refresh time trough the nsCacheTimeout which is a branch of the nsCacheTable, but they don´t even exist in my computer as I could confirm doing a walk starting in nsCache: C:\>snmpwalk –v1 -c public localhost .1.3.6.1.4.1.8072.1.5 NET-SNMP-AGENT-MIB::nsCacheDefaultTimeout.0 = INTEGER: 5 NET-SNMP-AGENT-MIB::nsCacheEnabled.0 = INTEGER: false(2) I have also tried setting NET-SNMP-AGENT-MIB::nsCacheEnabled.0 to true (1): C:\>snmpset -v1 -c public localhost 1.3.6.1.4.1.8072.1.5.2.0 i 1 NET-SNMP-AGENT-MIB::nsCacheEnabled.0 = INTEGER: true(1) But it didn´t appear to work because I am still not able to see the nsCacheTable: C:\>snmpwalk -v1 -c public localhost 1.3.6.1.4.1.8072.1.5 NET-SNMP-AGENT-MIB::nsCacheDefaultTimeout.0 = INTEGER: 5 NET-SNMP-AGENT-MIB::nsCacheEnabled.0 = INTEGER: true(1) How can I gain access to the nsCacheTable? May it be better to change these values in the source code or through a configuration file? Thanks beforehand!!! Daniel ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users