Re: Concepts about traps
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
2008/6/18 Murilo Fujita <[email protected]>: > I know that traps are events not requested and how to know > if they are happing? That's up to the application generating the trap. It will decide when a "significant event" has occurred, and hence when it should send a trap. > How to force some traps? Depends on the application generating the trap. You can use the command-line tool "snmptrap" to explicitly send a trap request. See the man page for details. > How to know if the NMS ... is receiving the traps? Depends on the NMS system being used. It may log incoming traps somewhere, or display a list of them. Or it may update the display status based on that notification. See the documentation for your NMS system for details. > I saw an example of snmptrapd.conf file > > traphandle IF-MIB::linkUp /home/nba/bin/traps up > > What will the /home/nba/bin/traps file do? Anything you want it to. It's typically a script (or sometimes a binary). You can code this to perform whatever actions you wish. > Is possible this file send a mail to me, for example? Yes. See 'local/traptoemail' for a suitable script. Dave ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ 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