net-snmp for network discovery

2009-03-02 Thread Sathyanarayana Murthy, Harish Kolar
Hi, How can i use net-snmp for discovering nodes in a specific IP Range (Ex: 16.138.37.1 - 16.138.38.34), their status (UP/ DOWN) and MAC address of each discovered node? If possible please paste the code snippet. Thanks Harish --

Re: What would be the return value of 'obsolete' status of any attribute?

2009-03-02 Thread Dave Shield
2009/3/2 Dey, Rajnish : > Could anyone let me know, what would be return value (incase SNMP GET/SET) > of any SNNP attribute, which has STATUS field as 'obsolete'? It depends on whether the agent implements that object or not. If the agent implements it, then querying it will be the same whether t

RE: help needed with root oid and getnext operation

2009-03-02 Thread EYRE Bernadette
This is what exactly I was looking for thank you for being of great help Bernadette Eyre -Original Message- From: dave.shi...@googlemail.com on behalf of Dave Shield Sent: Sat 2/28/2009 3:03 AM To: EYRE Bernadette Cc: Mike Ayers; net-snmp-us...@lists.sourceforge.net; harish...@hp.com;

RE: ASN_PRIV_IMPLIED_OCTET_STR (formerly SNMP verion...)

2009-03-02 Thread Bell, Adam
OK I try a few things and submit my solution when I have it working. Thanks, Adam -Original Message- From: dave.shi...@googlemail.com on behalf of Dave Shield Sent: Mon 3/2/2009 3:48 AM To: Bell, Adam Cc: net-snmp-coders@lists.sourceforge.net Subject: Re: ASN_PRIV_IMPLIED_OCTET_STR (for

What would be the return value of 'obsolete' status of any attribute?

2009-03-02 Thread Dey, Rajnish
Hi, Could anyone let me know, what would be return value (incase SNMP GET/SET) of any SNNP attribute, which has STATUS field as 'obsolete'? Thanks, Rajnish -- Open Source Business Conference (OSBC), March 24-25, 2009, Sa

Re: Regarding error on subcontainer '' insert (-1)

2009-03-02 Thread Dave Shield
2009/2/28 : > We are getting error in log file for every insert, delete on NetSnmp > container as --> > "error on subcontainer '' insert (-1)" it is flling up the log file > unneccesary. > 3) i even tried to disable this mib by sing: >     snmpd -I-ip... > but still the error is coming in log

Re: ASN_PRIV_IMPLIED_OCTET_STR (formerly SNMP verion...)

2009-03-02 Thread Dave Shield
2009/2/28 Bell, Adam : > I am running 5.2.4 and am having a problem indexing a table with fixed octet > string indexes. > Since the ASN_PRIV_IMPLIED_OCTET_STR does not have an encoded length for the > oid, > the routine is taking the entire oid length. > The table in question has 3 indexes and t

ASN_PRIV_IMPLIED_OCTET_STR (formerly SNMP verion...)

2009-03-02 Thread Bell, Adam
Hi all, I am running 5.2.4 and am having a problem indexing a table with fixed octet string indexes. A GetNext of the table returns the proper encoding (see below) get a get or set on a column fails with No Such instance. After digging though table code and ultimately getting down into mib.c