--On Thursday, November 11, 2004 6:52 AM +0000 Aled Treharne <[EMAIL PROTECTED]> wrote:
I've been using mon for some time now, but I've recently found a need to have mon handle snmp traps generated by a new system. It's the end of a nightshift, so I may be missing something stupidly and lgaringly obvious, but I can't see any information in the docs or example files as to how to set up a service to monitor snmp traps. Should I just do the same as for mon traps?
Any help is most gracefully accepted.
Despite some misleading documentation, Mon currently has no native support for snmp traps. In order to integrate snmp traps into Mon, you need software which can receive the traps and generate Mon events.
I'm attaching a message from this list from a while back where someone reports that they've been able to get the snmptrapd from the Net-SNMP package to integrate with Mon successfully.
LooperNG looks like it might be useful for translating SNMP traps into mon events, but doesn't currently have native support for sending stuff to Mon. (They already provide a mon alert script to generate send events to LooperNG, but no vice-versa.)
-David
David Nolan <*> [EMAIL PROTECTED] curses: May you be forced to grep the termcap of an unclean yacc while a herd of rogue emacs fsck your troff and vgrind your pathalias!
--- Begin Message ---If you are using the net-snmp package, it's fairly straightforward to forward traps to mon with snmptrapd. Here is a script I use as the default traphandle for snmptrapd; it forwards selected traps to a hostgroup/service in mon.(See attached file: snmp2montrap) "TORRESANI, Roberto" To: [EMAIL PROTECTED] <[EMAIL PROTECTED] cc: unitn.it> Subject: SNMP traps Sent by: [EMAIL PROTECTED] kernel.org 01/08/02 04:32 AM Hi all, can mon receive snmp traps? As stated in the man page it seems that snmp support isn't implemented. Is that right? Is there a plan on when that will be available? Anyone of you has in the meantime created some patch for mon to enable snmp? Roberto Torresani
snmp2montrap
Description: Binary data
--- End Message ---
_______________________________________________ mon mailing list [EMAIL PROTECTED] http://linux.kernel.org/mailman/listinfo/mon