Re: not able to get trap

2005-10-07 Thread Robert Story
On Fri, 30 Sep 2005 18:24:15 -0700 [EMAIL PROTECTED] wrote: RN> DS> The AgentX protocol doesn't include this information. RN> DS> It's simply not possible RN> RN> I need to log some informatin when SET is requested. address and RN> community information should be sent to master. Where in master

Re: not able to get trap

2005-10-02 Thread res0d1zz
sage - From: "Dave Shield" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: Sent: Friday, September 30, 2005 2:57 AM Subject: Re: not able to get trap On Thu, 2005-09-29 at 19:31 -0700, [EMAIL PROTECTED] wrote: How to pass client address and community information from

Re: not able to get trap

2005-09-30 Thread Dave Shield
On Thu, 2005-09-29 at 19:31 -0700, [EMAIL PROTECTED] wrote: > How to pass client address and community information from > master to subagent? You can't. > I am using old-api for the subagent code. Doesn't make any different. The AgentX protocol doesn't include this information. It's simply not

Re: not able to get trap

2005-09-30 Thread Dave Shield
On Thu, 2005-09-29 at 17:55 -0400, Haizhu Liu wrote: > I have wirtten code that register as a trap receiver and start listening for > traps, do I need to have snmpd running on my box to be able to recieve trap? No. A notification receiver (such as 'snmptrapd' or your application) is a completely

Re: not able to get trap

2005-09-29 Thread res0d1zz
How to pass client address and community information from master to subagent? I am using old-api for the subagent code. Thank you, RES --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, di

not able to get trap

2005-09-29 Thread Haizhu Liu
Hi, I have wirtten code that register as a trap receiver and start listening for traps, do I need to have snmpd running on my box to be able to recieve trap? --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free c

Re: net-snmp 5.0.8 - not able to get trap, my problem?

2005-05-23 Thread Dave Shield
On Sat, 2005-05-21 at 16:33, Robert Story wrote: > A new 'transport' system was introduced in the 5.0 line, and it works a little > differently. Take a look at what snmptrapd.c does to open the trap port, and > mimic that instead. In particular, you probably need to use snmp_session_data.

Re: net-snmp 5.0.8 - not able to get trap, my problem?

2005-05-21 Thread Robert Story
On Thu, 19 May 2005 15:56:26 -0400 Haizhu wrote: HL> I am using net-snmp 5.0.8. I am trying the example code on the web: I have HL> my host registered as a trap receiver, and the code is as follows. I don't HL> understand why it hangs over select(). Similar piece of code worked okay HL> with ucd

net-snmp 5.0.8 - not able to get trap, my problem?

2005-05-19 Thread Haizhu Liu
Hello, I am using net-snmp 5.0.8. I am trying the example code on the web: I have my host registered as a trap receiver, and the code is as follows. I don't understand why it hangs over select(). Similar piece of code worked okay with ucd-snmp 4.2.5 version. snmp_sess_init( &snmp_session_data

not able to get trap - block over select

2005-05-18 Thread Haizhu Liu
Hello, I am using net-snmp 5.0.8. I am trying the example code on the web: I have my host registered as a trap receiver, and the code is as follows. I was able to generate a trap on the sender side, but my reciever code just block over select call. I don't understand why. The same piece of code