What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

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

PRTG Custom Sensor - Powershell TimeSpan Object

Votes:

0

I have a TimeSpan PowerShell object and need to display it in a PRTG Custom Sensor Channel - do you have any examples that will format it whether the span contains days, hours and minutes or just minutes?

custom powershell sensor

Created on Apr 17, 2022 11:56:28 PM



1 Reply

Votes:

0

Output the timespan in seconds and use the unit seconds; PRTG will then automatically convert it to minutes, hours, days, etc :)

Created on Apr 18, 2022 7:46:58 AM by  Stephan Linke [Paessler Support]




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.