Event parameters
Subscribe

From OpenNMS

Jump to: navigation, search

Event parameters are used in the event-configuration.xml and notifications.xml files. The parameters are parsed as tokens delimitted with percent ('%') signs. This is the currrent list of valid paramenters:

Someone should better define these ;-)

You can edit $OPENNMS_HOME/etc/log4j.properties and set the logging level for the eventd to DEBUG. Then check the eventd.log and you will see the parameters and their values for each incoming event.


 %eventid% 
The Event ID xml tag
 %uei% 
The UEI xml tag
 %source% 
The event source xml tag
 %time% 
The event time
 %dpname% 
The event dpname
 %nodeid% 
The event nodeid
 %nodelabel% 
The nodelabel
 %host% 
The host
 %interface% 
The interface
 %interfaceresolve% 
Reverse DNS lookup of the interface
 %ifalias% 
SNMP ifAlias
 %id% 
SNMP ID
 %snmp% 
SNMP
 %idtext% 
SNMP ID Text
 %version% 
SNMP version
 %specific% 
SNMP specific ID
 %generic% 
SNMP generic ID
 %community% 
SNMP community string
 %snmphost% 
SNMP host
 %service% 
OpenNMS service
 %severity% 
OpenNMS severity
 %operinstruct% 
Event defined operator instructions
 %mouseovertext% 
Event defined mouse over text