Net-SNMP caching?
Martin Townsend <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Organization | Power Oasis |
| Message-ID | <[email protected]> |
Hi, Does the Net-SNMP library cache results of a SNMP Get Request? I have an application that performs an SNMP Get Request, checks to see if the value is different that what the application wants and if so send a Set Request to change it. This happens every second. The problem I'm seeing is that after the set request the next get request returns the value previous to the set. e.g. we want to set x to 42 SNMP GET REQ x SNMP GET RESP x=41 x != 42 so we SNMP SET REQ x=42 SNMP SET RESP x=42 a second later SNMP GET REQ x SNMP GET RESP x=41 I've checked that the value of x has actually changed on the SNMP device by using the snmpget command line utility so I can only think that the Net-SNMP library is caching the initial Get Request and returning the old value for further Get requests? Can anyone confirm this and if so does anyone know how to turn it off? Thanks in advance, Martin. -- Martin Townsend Power*Oasis* Suite 1, Unit 41 Shrivenham Hundred Business Park Majors Road Watchfield Swindon Wilts SN6 8TZ ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ 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