How To Format a Multi-Line Alert Email in 5.6.1
How do I format a multi-line email in Statseeker 5.6.1
In Statseeker 5.6.2 using <Enter> in an Alert Email body does not add a new line for each parameter to create a nicely formatted block per device in the received email, this is a change from previous versions of Statseeker.
In Statseeker 5.6.2 use <Shift Enter> instead, this results in the received email having the information in nicely formatted blocks.
5.6.2 Examples:
Alert Body with <Shift Enter>
MPLS RTT Monitor HIGH
Time:
Device:
Event: =
Output with <Shift Enter>
MPLS RTT Monitor HIGH
Time: 09:28:00
Device: Taipei-rtr
Event: RTT Monitor (device.ping_rtt max, threshold: 10ms) above = 14.657ms
MPLS RTT Monitor HIGH
Time: 09:31:00
Device: Chicago-fw
Event: RTT Monitor (device.ping_rtt max, threshold: 10ms) above = 18.929ms
MPLS RTT Monitor HIGH
Time: 09:34:00
Device: Wellington-swt1
Event: RTT Monitor (device.ping_rtt max, threshold: 10ms) above = 14.882ms
MPLS RTT Monitor HIGH
Time: 09:37:00
Device: Warsaw-swt2
Event: RTT Monitor (device.ping_rtt max, threshold: 10ms) above = 12.231ms
MPLS RTT Monitor HIGH
Time: 09:39:00
Device: Taipei-rtr
Event: RTT Monitor (device.ping_rtt max, threshold: 10ms) above = 19.937ms
Alert Body with <Enter>
MPLS RTT Monitor HIGH
Time:
Device:
Event: =
Output with <Enter>
MPLS RTT Monitor HIGH
Time: 09:28:00
Time: 09:31:00
Time: 09:34:00
Time: 09:37:00
Time: 09:39:00
Device: Taipei-rtr
Device: Chicago-fw
Device: Wellington-swt1
Device: Warsaw-swt2
Device: Taipei-rtr
Event: RTT Monitor (device.ping_rtt max, threshold: 10ms) above = 14.657ms
Event: RTT Monitor (device.ping_rtt max, threshold: 10ms) above = 18.929ms
Event: RTT Monitor (device.ping_rtt max, threshold: 10ms) above = 14.882ms
Event: RTT Monitor (device.ping_rtt max, threshold: 10ms) above = 12.231ms
Event: RTT Monitor (device.ping_rtt max, threshold: 10ms) above = 19.937ms
Using <Enter> results in the received email having the information in nicely formatted blocks.
Alert Body with <Enter>
MPLS RTT Monitor HIGH
Time: {Event Time}
Device: {Entity Name}
Event: {Event Text} = {Breach Value}
Email Body with <Enter>
MPLS RTT Monitor HIGH
Time: 07:28:00
Device: Perth-swt2
Event: RTT Monitor (device.ping_rtt max, threshold: 10ms) above = 25.085ms
MPLS RTT Monitor HIGH
Time: 07:37:00
Device: Bangkok-rtr
Event: RTT Monitor (device.ping_rtt max, threshold: 10ms) above = 64.8ms
MPLS RTT Monitor HIGH
Time: 08:26:00
Device: Manila-ups2
Event: RTT Monitor (device.ping_rtt max, threshold: 10ms) above = 43.631ms
MPLS RTT Monitor HIGH
Time: 08:53:00
Device: Cairo-swt1
Event: RTT Monitor (device.ping_rtt max, threshold: 10ms) above = 29.64ms
MPLS RTT Monitor HIGH
Time: 09:07:00
Device: Bangalore-swt1
Event: RTT Monitor (device.ping_rtt max, threshold: 10ms) above = 44.358ms