RE: couldn't find ifIndex

2010-11-29 Thread Andrus, Brian Contractor
I haven't. It seems to be happening on regular intervals whether snmp is being queried or not. Every 15 seconds to be exact. Brian From: Steve Friedl [mailto:[email protected]] Sent: Mon 11/29/2010 9:25 PM To: Andrus, Brian Contractor Cc: net-snmp-coders@list

Re: couldn't find ifIndex

2010-11-29 Thread Steve Friedl
On Mon, Nov 29, 2010 at 09:10:53PM -0800, Andrus, Brian Contractor wrote: > Hello all, > > Not a coder or anything, but I have had an issue and noticed others have as > well. I hunted down and watched for patterns for myself. > > Here is a scenario that seems to be consistent in my environment

couldn't find ifIndex

2010-11-29 Thread Andrus, Brian Contractor
Hello all, Not a coder or anything, but I have had an issue and noticed others have as well. I hunted down and watched for patterns for myself. Here is a scenario that seems to be consistent in my environment: We are running a CentOS 5.5 environ. Strictly rpms. We run TCPoIB (TCP over Infini

Building all the modules

2010-11-29 Thread Magnus Fromreide
I tried to compile all the 440 mib modules as follows: ( find . -name '*.h' | \ sed -e 's;./\(.*\)\.h;\1;' | \ while read target ; do echo === $target === | tee /dev/tty ; \ ( rm -rf /tmp/foo ; \ mkdir /tmp/foo ; \ cd /tmp/foo ; \ if /usr/local/src/net-snmp/clean/conf

Re: How to write own application in c ?

2010-11-29 Thread Wes Hardaker
> On Sun, 28 Nov 2010 16:07:34 +0530, mass mass said: mm> I want to write SNMP application that reads integer from specific file mm> on GET request and write integer to file on SET request. How can I add mm> my own c code to do this in snmp subagent? The tutorials show how to do this sort of

Re: OID Compression

2010-11-29 Thread Wes Hardaker
> On Wed, 24 Nov 2010 11:29:49 +0530, "Prakash" > said: P> Is net-snmp latest version supports oid compression or we need P> implement our own? There is currently no OID compression directly in net-snmp. If you use SNMPv3 with TLS/DTLS support you can turn on packet compression for tho

How to write own application in c ?

2010-11-29 Thread mass mass
Hello, I want to write SNMP application that reads integer from specific file on GET request and write integer to file on SET request. How can I add my own c code to do this in snmp subagent? How does snmp gets information from system? -