I am having some difficulties configuring a custom alert message when using PagerDuty as transport.
Have tried several different alert template configurations, but no matter what i set it to, the message sent to PD is always “%name on %hostname”, i.e. “Device down on 10.0.0.1”.
What I want to achieve is to have the message include a custom URL and sysName/sysLocation.
I just updated to version 1.38-4. I was using a version where transports were set up in /includes/alerts/transport.x.php. As a hack, I had made adjustments to this file, to set a custom message. After the update this is no longer possible.
Does anybody know how to properly configure alert templates to make them apply to the PagerDuty transport?
Any help would be much appreciated.