The notification content for the built-in notifications can be customized by editing the following files in the <TRAVERSE_HOME>/etc/actions/
directory:
regular-email.xml
compact-email.xml
tap-pager.xml
There can be two sections in each file, one for the test threshold violations (type="test") and one for the traps and log messages (type="message"). All the variables that are used in the plugin framework (see the Traverse Developer Guide & API Reference) are available for these notification XML files as well.
All multi-line text in the <body>
parameter is combined into a single line. Any \r\n
or \n
strings are converted into newline characters unless they are prefixed by a ^
character. For example, the configuration
a\r\n
b
c ^ d \n
is converted to
a
bc d