I am working on sending some custom notification emails via a Powershell script. During this process I ran into some problems as I could not easily identify what the Placeholder values would be when they were passed from the Notification trigger to my Notification template to run the script.
For example I did some mock ups of my script on a Windows Audio Service sensor which I could stop and start so the state sensor on the down event would kick off the script. When doing this the Placeholder value of %host was the name of my server. However when I moved this over to a Cisco router on a Ping sensor the %host Placeholder value changed to the IP Address of the device and was not the name of the Device.
So here is my question: Is there an easier way to verify what value will come across when using Placeholders from the PRTG console? If not are you able to integrate this into PRTG in a future release?
Thanks in advance!