Re: how to change in Agent code for new mib.

2011-08-25 Thread devel tech
gt;> MIB (I used existing MIB of net-snmp and change few objects of it and save >>> it by name test-MIB.txt at /usr/local/share/snmp/mibs path).. now i want to >>> load it so that net-snmp agent use my test mib to response for GET queries. >>> >>> 1. I follow

Re: how to change in Agent code for new mib.

2011-08-24 Thread devel tech
MIB.txt at /usr/local/share/snmp/mibs path).. now i want to load > it so that net-snmp agent use my test mib to response for GET queries. > > 1. I followed tutorial but no success, i tried it several time . > 2. what change required at Agent end and where in Agent code of net-snmp > 3.

how to change in Agent code for new mib.

2011-08-24 Thread devel tech
GET queries. 1. I followed tutorial but no success, i tried it several time . 2. what change required at Agent end and where in Agent code of net-snmp 3. if i have private MIB(under private branch) then what steps required for the same task. plz guide me and sorry if i could not explain it properly

Re: Agent CODE

2005-03-08 Thread Robert Story
On Thu, 3 Mar 2005 01:03:57 +0530 Jude wrote: JAA> hi.. i have generated the AGENT code using MIB2C. JAA> JAA> Now once i modify the file ( .C ) . How shud i compile it to check for JAA> errors... JAA> JAA> shud i use ./configure and MAKE or just Make.?? for a simple pr

Agent CODE

2005-03-02 Thread Jude Amal Anand
hi.. i have generated the AGENT code using MIB2C. Now once i modify the file ( .C ) . How shud i compile it to check for errors... shud i use ./configure and MAKE or just Make.?? I am tryin to open a file and write data into it. But unfortunately it doesn't open the file. kindly help m

Re: Which API to use for generating SNMPv3 trap from Net-SNMP agent code ??

2004-10-06 Thread Malliga Moorthi
rote: > MM> I am now looking forward to generate SNMPv3 trap > from > MM> the agent code > > RS> If you configured a 'trapsess', > RS> I'd expect that send_v2trap() would suffice. > > That's correct. > The 'v2trap' refers to the

Re: Which API to use for generating SNMPv3 trap from Net-SNMP agent code ??

2004-09-28 Thread Users
On Tue, 28 Sep 2004 12:42:02 +0100 Dave wrote: DS> So if you've got a "trapsess" entry set up to use SNMPv3, then DS> *all* traps sent by the agent will be SNMPv3 traps - regardless DS> of the call that triggers sending it. Just to clarify, all the traps sent to the host specified in the trapsess

Re: Which API to use for generating SNMPv3 trap from Net-SNMP agent code ??

2004-09-28 Thread Dave Shield
MM> I am now looking forward to generate SNMPv3 trap from MM> the agent code RS> If you configured a 'trapsess', RS> I'd expect that send_v2trap() would suffice. That's correct. The 'v2trap' refers to the structure of the request as it's pass

Re: Which API to use for generating SNMPv3 trap from Net-SNMP agent code ??

2004-09-27 Thread Users
On Sun, 26 Sep 2004 23:30:06 -0700 (PDT) Malliga wrote: MM> I am now looking forward to generate SNMPv3 trap from MM> the agent code. I have configured in MM> snmpd.conf and snmptrapd.conf files for v3 user and MM> authentication. If you configured a 'trapsess', I

Which API to use for generating SNMPv3 trap from Net-SNMP agent code ??

2004-09-27 Thread Malliga Moorthi
Hi, I have generated SNMPv2 trap using send_v2trap( ) API from within the agent code. And it is possible for me to generate SNMPv3 trap using the command line application snmptrap( ) as mentioned in "Net-SNMP tutorial -- TRAPs vs INFORMs for SNMPv3" and receive it using snmptrapd.