On 7 July 2011 19:38,  <[email protected]> wrote:
> My question is in the following code, how does net-snmp know the
> destination's IP address?

The trap destinations are specified in the snmpd.conf file.
Note that this is handled by the *master* agent, not the subagent.
The subagent simply passes any notifications to the master agent,
which decides what to do with it.


>  Why the other end doesn't receive anything?

My best guess is that the master agent isn't configured
to send traps anywhere.   If you don't have a 'trapsink'
(or equivalent) entry in the snmpd.conf, then the master
agent won't generate any traps - even if the subagent
issues one.

Dave

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
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

Reply via email to