Re: Net-SNMP caching?

2011-02-28 Thread Martin Townsend
using Net-SNMP and this worked fine even at 1 second intervals. Best Regards, Martin. On 25/02/2011 20:09, Dave Shield wrote: > On 25 February 2011 17:06, Martin Townsend > wrote: >> Does the Net-SNMP library cache results of a SNMP Get Request? > No. > > The only caching is

Net-SNMP caching?

2011-02-25 Thread Martin Townsend
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

Re: net-snmp startup issue

2011-01-17 Thread Martin Townsend
On 14/01/2011 18:08, Dave Shield wrote: > On 14 January 2011 15:22, Martin Townsend > wrote: >> I have an daemon application that uses net-snmp to perform GET REQUESTS >> to an SNMP device to obtain information periodically and this works fine >> when developing. The p

net-snmp startup issue

2011-01-14 Thread Martin Townsend
Hi, I have an daemon application that uses net-snmp to perform GET REQUESTS to an SNMP device to obtain information periodically and this works fine when developing. The problem I have is that it doesn't work when starting the application from boot time. I have logging turned on in net-snmp:

SNMP Broadcast

2010-11-08 Thread Martin Townsend
Hi, I'm trying to use SNMP broadcast packets to perform device discovery. I'm using version 5.5 which has limited support for broadcast. Has anyone managed to get this working as my initial attempt doesn't see any replies when I know there should be at least 3 devices that should reply. Her

Re: Traps/Informs

2010-07-22 Thread Martin Townsend
*, size_t* /objidlen/*); int snprint_objid(char **/buf/*, size_t* /len/*, const oid **/objid/*, size_t* /objidlen/*);* Thanks Gaurav On Thu, Jul 22, 2010 at 2:18 PM, Martin Townsend <mailto:martin.towns...@power-oasis.com>> wrote: On 21/07/2010 06:05, Gaurav Chaturvedi w

Re: Traps/Informs

2010-07-22 Thread Martin Townsend
LL; } count = select(numfds, &fdset, 0, 0, tvp); if (count > 0) { snmp_sess_read (ss,&fdset); } else } /* End of while */ if (ss) { snmp_sess_close(ss); ss = NULL; }

Traps/Informs

2010-07-20 Thread Martin Townsend
Hi, I'm having problems processing traps in my management application, After looking through the snmptrapd code I've added calls to netsnmp_transport_open_server(app_name, "udp:162"); and then initialise a session with snmp_sess_init with the following initialisation session_p->peername = SN

Re: mfd - problems with container_load

2010-07-19 Thread Martin Townsend
On 19/07/2010 15:19, Martin Townsend wrote: > Hi, > > I'm currently creating a test agent using my own mib. I have > implemented all the scalar values using mib2c and then int-watch > configuration file. The problem I have is with a table. > mib2c.mfd.conf was used

mfd - problems with container_load

2010-07-19 Thread Martin Townsend
Hi, I'm currently creating a test agent using my own mib. I have implemented all the scalar values using mib2c and then int-watch configuration file. The problem I have is with a table. mib2c.mfd.conf was used to create the files. I have implemented the data access routines but I can't see

problem with snmpbulkget

2010-07-14 Thread Martin Townsend
Hi, I am seeing a problem sending BULKGET snmp messages for non-repeater values. If you specify the instance number then it retrieves the incorrect value. e.g. using snmpbulkget on our router. r...@ts7800:snmpd# snmpbulkget -v2c -Cn2 -Cr0 -c public 192.168.0.1 sysLocation.0 ifIndex.1 SNMPv2-M