Re: Alarm Severity
"Seibold, Michael" <[email protected]> Wed, 22 Aug 2018 07:44:07 +0000
| Newsgroups | gmane.network.opennms.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Livhu,
the best way I know is to make copies of the trap in the event definition and to catch the different severities from the traps using varbinds/vbvalue as in here, using parameter 2 of the trap to indicate the severity, here catching severity=1:
<event>
<mask>
<maskelement>
<mename>id</mename>
<mevalue>.1.3.6.1.4.1.595.1.1</mevalue>
</maskelement>
<maskelement>
<mename>generic</mename>
<mevalue>6</mevalue>
</maskelement>
<maskelement>
<mename>specific</mename>
<mevalue>3</mevalue>
</maskelement>
<varbind>
<vbnumber>2</vbnumber>
<vbvalue>1</vbvalue>
</varbind>
</mask>
....
-Michael
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ
opennms-discuss mailing list
To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss