From: Kevin K. <kev...@me...> - 2011-05-25 06:48:40
|
Thanks, this is working quite well. It?s an easy and nice way to keep an eye on not directly monitored services or traps. Much more easy to look at the event-table in OpenNMS. Maybe someone should create a wikisite for this J Von: Jerry White [mailto:Jer...@ga...] Gesendet: Donnerstag, 19. Mai 2011 18:52 An: General OpenNMS Discussion Betreff: Re: [opennms-discuss] Incoming SNMP trap notifications Kevin, try this in notifications.xml <notification name="All Major and Critical Events" status="on" writeable="yes"> <uei xmlns="">MATCH-ANY-UEI</uei> <description xmlns="">This notification will be sent for any event that has a severity of Major or Critical</description> <rule xmlns="">(IPADDR != '0.0.0.0')</rule> <destinationPath xmlns="">MyDestinationPath</destinationPath> <text-message xmlns="">An %severity% event on node: %nodelabel%, interface:%interface% with message: %logmsg%. Event ID %eventid%.</text-message> <subject xmlns="">Event %eventid%: %severity% event on %nodelabel%, %interface%.</subject> <event-severity xmlns="">major|critical</event-severity> </notification> Jerry White Foundation Services | Gap Inc. IT jer...@ga... | San Francisco: ' (415) 832-8748 | Cell: ' (510) 701-5118 From: Kevin Küper [mailto:kev...@me...] Sent: Tuesday, May 17, 2011 3:13 AM To: General OpenNMS Discussion Subject: Re: [opennms-discuss] Incoming SNMP trap notifications I would also like to know if such a way exists. My searches and trys gave no results. Von: Jerry White [mailto:Jer...@ga...] Gesendet: Montag, 16. Mai 2011 23:19 An: General OpenNMS Discussion Betreff: [opennms-discuss] Incoming SNMP trap notifications Is there a way to configure eventd to send a notification on any incoming trap with severity Major or Critical? The way I read the documentation, each trap must be configured individually. That?s a lot of editing. We had an important interface go down last weekend, the event was logged, but no notifs went out because it wasn?t configured. I can configure that particular trap, but what about other traps that haven?t come in yet? Jerry White Foundation Services | Gap Inc. IT jer...@ga... | San Francisco: ' (415) 832-8748 | Cell: ' (510) 701-5118 |