Hello,

we are successfully using some powershell scripts to monitor different things. The only problem or question we have is, is it possible to give a date as a value back to ptrg? We want the date to be shown in prtg dashboard underneath the Sensor Name.

e.g.

write-host "0:Awesome"

returns #0 in dashboard and "awesome" as text.

write-host "18.12.2017:Awesome"

is not functional.

write-host "18122017:Awesome"

returns "18.122.017" in dashboard and "awesome" as text.

Thanks for your Ideas on this!


Article Comments

Hi there,

Unfortunately, that is not possible as it is not possible to graph a date in graphs. Therefore no "Date"-Unit is available.

Would it be possible to use a custom advanced sensor instead where you give out three channels, Day, Month, Year. This would then show the date, just divided in three channels.

Best regards.


Dec, 2017 - Permalink