My aim is to generate a call in our servicemanagementtool whenever PRTG detects low diskspace. For this I need some information about the device, status and message. I use a powershell script to interact with the API of our servicemanagementtool. I can get this set-up to work with parameters (PRTG placeholders) specified in the parameter field of the sensor and a params section in my script.
Working without a seperate parameter setting would make life much easier. I would like to use the PRTG info directly as variables. So, what I don't understand is the use of the option 'Set placeholders as environment values'. Seems to me that with that option enabled I could use any PRTG placeholder as direct variable in my Powershell script. I tried several notations, but no avail. Things like %host or '%host' keeps getting displayed as plain text %host or '%host'.
I've tried the forum, searched online, but I can't seem to find the answer or an example how to go about this.
Add comment