Re: About the trap sending problems

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> On Thu, 26 Aug 2010 16:21:29 +0800, "Alexander King" <[email protected]> said:

AK> 1.it the subagent send it or the master agent send it ? or the two
AK> do the work?

The subagent usually sends a trap to the master agent, which then
rebroadcasts it to all the specified notification destinations.

You should look in agent/mibgroup/examples/notification.c for examples
of how to send notifications.  It will work regardless of whether the
code is used in the subagent or in the masteragent.
-- 
Wes Hardaker
Cobham Analytic Solutions

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
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.