RE: GET and GETNEXT Processing

2009-02-24 Thread Sathyanarayana Murthy, Harish Kolar
Hi Berndette, Maybe you can get good sample programs for GETNEXT here http://www.opensource.apple.com/darwinsource/10.4.4.ppc/net_snmp-18/net-snmp/apps/ Hope this helps. Thanks Harish From: EYRE Bernadette [mailto:[email protected]] Sent: Wedne

GET and GETNEXT Processing

2009-02-24 Thread EYRE Bernadette
Hello snmp coders and users, I'm lost please help shed some light. I have an subagent which registers organization root oid (several tables and scalars) when I run snmpwalk on one of the columns of one of the tables the net-snmp master agent calls my handler with GETNEXT mode first and then wit

Re: registering only trap with other subagent

2009-02-24 Thread Dave Shield
2009/2/24 : > how to achieve this not register, but getting the table OIDs to able to > send the traps? The "table OIDs" don't actually *do* anything. An OID is simply a way of referring to a piece of information. There are two aspects to sending a trap. One is deciding what information to send

Re: Question on SNMP version

2009-02-24 Thread Dave Shield
2009/2/24 Sathyanarayana Murthy, Harish Kolar : > My question here is this version is of the agent or the SNMP manager who is > running this code? Neither. The version is of the protocol that is used between them. The agent and the manager must agree how they will communicate. Either they both u

RE: registering only trap with other subagent

2009-02-24 Thread KapilKumar.Jain
Thanks Wes, how to achieve this not register, but getting the table OIDs to able to send the traps? Do we require to change is smidump? regards, kapil -Original Message- From: Wes Hardaker [mailto:[email protected]] Sent: Monday, February 23, 2009 11:45 PM To: Jain, Kapil

Question on SNMP version

2009-02-24 Thread Sathyanarayana Murthy, Harish Kolar
Hi all, I understood that the SNMP message format is different from SNMP version 1.0 and version 3.0. And net-snmp supports both. While creating a SNMP session using snmp_sess_init( &session ); We mention the SNMP version like session.peername = strdup("16.138.37.21"); //give the agent IP ses