What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags

View all Tags

Custom Sensor - Return code as Date



Your Vote:




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.


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!

custom-sensor prtg value

Created on Dec 18, 2017 10:43:38 AM by  itrservice (0) 1

Last change on Dec 18, 2017 11:03:15 AM by  Luciano Lingnau [Paessler]

1 Reply



Your Vote:



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.

Created on Dec 18, 2017 2:11:22 PM by  Dariusz Gorka [Paessler Support]

Please log in or register to enter your reply.

Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.