Event parameters

From OpenNMS

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
Personal tools
DevJam 2008 Sponsors
DevJam 2008 Sponsor: Google
DevJam 2008 Sponsor: Netregistry
DevJam 2008 Sponsor: Papa John's
NewEdge Networks
OpenNMS takes home the gold award!
Join the Free Software Foundation
Support This Project Commercial OpenNMS Support OpenNMS Italia Get OpenNMS at SourceForge.net. Fast, secure and Free Open Source software downloads Our Network Simulator Our Java Profiler