This article explains how to change the severity of an event that is already available in OpenNMS.
To change the severity of an event, perform the following steps:
In the above example, the event is jnxFabricFruInsertion and the Severity is Normal.
jnxFabricFruInsertion
Junos Space Settings Menu 1> Change Password 2> Change Network Settings 3> Change Time Options 4> Retrieve Logs 5> Security 6> Expand VM Drive Size 7> (Debug) run shell A> Apply changes Q> Quit R> Redraw Menu Choice [1-7,AQR]: 7 [sudo] password for admin:
Navigate to the /opt/opennms/etc directory.
/opt/opennms/etc
root@space-005056bd0e10 etc] cd /opt/opennms/etc/
To identify the MIB file for this event, search for the event name as shown:
root@space-005056bd0e10 etc]# grep -inr "jnxFabricFruInsertion" events/JuniperEvents/mib-jnx-fabric-chassis.xml:473: uei.opennms.org/traps/JUNIPER-FABRIC-CHASSIS/jnxFabricFruInsertion events/JuniperEvents/mib-jnx-fabric-chassis.xml:474: JUNIPER-FABRIC-CHASSIS defined trap event: jnxFabricFruInsertion events/JuniperEvents/mib-jnx-fabric-chassis.xml:476:<p>A jnxFabricFruInsertion trap signifies that the SNMP events/JuniperEvents/mib-jnx-fabric-chassis.xml:531: jnxFabricFruInsertion trap received
Using the above output, we can identify the file where a particular event is defined, in this case, mib-jnx-fabric-chassis.xml .
mib-jnx-fabric-chassis.xml