Re: Inform Destination

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> On Tue, 4 Apr 2006 11:24:31 -0500, <[email protected]> said:

cherrero> 1. I've defined my own traps in one private MIB but I don't
cherrero> understand how to use the SNMP-NOTIFICATION-MIB.  Should I
cherrero> register my traps in this MIB ?

no, that mib actually registers destinations to which all
notifications can be sent (though the MIB also provides filtering if
needed).  When your code sends a notification of any kind, it'll be
sent to anything registered in that table.

cherrero> 2. In my snmpd.conf, I use the option 'informsink' to
cherrero> specify to the agent where to send the informs. Should I see
cherrero> this target address in the SNMP-TARGET-MIB ?  if not, if I
cherrero> add (via snmpset) the same address in this MIB, does the
cherrero> inform sent twice ?  If I add a target in the
cherrero> SNMP-TARGET-MIB, is it persistent ? ie is this information
cherrero> will be still there after an agent reset ?

1) informsinks *should* register itself in the mib, although there are
   exceptions where this doesn't happen.
2) If you do register something twice, then you'll get 2 notifications
   sent to it.
3) the mib tables should be persistent, yes.
-- 
Wes Hardaker
Sparta, Inc.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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.