Re: Handling the inform request

sanjaykumar <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Wes Hardaker wrote:

On Wed, 23 Sep 2009 12:54:10 +0530, sanjaykumar <[email protected]> said:

s> what about the different API available in agent/agent_trap.c ?

If you're writing code within the agent, you should be using the agent's
API for sending traps. See the agent/mibgroup/examples/notification.c
for an example.

Thanks a lot for the reply.

But, here snmptrapd demean will have to running to receive the
NOTIFICATION (TRAP) response. or Agent will also handle the response ?

What if we don't have snmptrapd is running,

As I am running the agent code as a "thread" as a part of my
Application.

So to receive the notification does I need to run snmptrapd as a thread,

or response of notification can also received at "select" in "receive"
function in snmpd.c

Regards,

Sanjay

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.