Customizing the event text
You can customize the event rule name and add it to the event description by modifying the appropriate strings in the installationDirectory\pw\pronto\conf\resources\i18nData\en_US\alarms\intelligentEvents.properties file. This adds an additional variable called $EVENTRULE_NAME and causes the event processing system to insert the name of the event rule into the description.
The properties to modify the event rule name start with the following lines:
- pronet.alarms.abs
- pronet.alarms.sig
Event messages might be customized to include additional information in the Description field of an Event table. By editing the event text template in the intelligentEvents.properties file, you can modify the event text and add additional event data to e-mail notifications and event summary links.
There are four templates for absolute events and four for signature events.
One application of this feature is to provide users with specific procedures to follow when an issue occurs (for example, "runbooks"). Such procedures can be referenced as a URL supplied in custom event text.
For example, changing the definition in the intelligentEvents.properties file from pronet.alarms.abs.abovethresh=$MO_TYPE $ATTR_NAME above $THRESH$UNITS.<$EVENT_CODE,$ABNORMALITY,$AVG,$LAST,$DUR> to pronet.alarms.abs.abovethresh=$MO_TYPE $ATTR_NAME above $THRESH$UNITS
See http://helpserver.mycompany.com/runbooks/$MO_TYPE/$ATTR_NAME
<$EVENT_CODE,$ABNORMALITY,$AVG,$LAST,$DUR>
This can be used to reference a web page on a web server called helpserver that tells an operator what to do when an event is issued for (example) Solaris System Memory Utilization. You could make it even more specific by referring a procedure for a particular monitor instance, for example:
http://helpserver.mycompany.com/runbooks/$MO_TYPE/$ATTR_NAME/$INSTANCE_NAME
This would mean creating an extra web page for each particular monitor instance that needs its own procedure.
The above examples are simplified and are useful only in notification e-mails sent as ASCII. They cannot be used to drill-down from the event summary.
Below is a more sophisticated example that embeds an HTML reference in the definition so it can be referenced directly from the event summary. Note that in this example the web server provides dynamic web content using active server pages:
Once the changes are completed, you must either restart BMC ProactiveNet Server or start the rate process (pw process restart rate) and then restart the snmpdc process (pw process restart snmpdc) for the changes take effect.