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

Can I build a sensor that include time function?

Votes:

0

I want to build a sensor that contrast the previous day data,
How can I build it?

functions prtg time

Created on Feb 8, 2017 5:13:29 AM

Last change on Feb 9, 2017 11:35:56 AM by  Luciano Lingnau [Paessler]



1 Reply

Votes:

0

Hello there, thank you for your KB-Post.

You would have to leave a custom sensor (with a custom script) running in parallel, and comparing the last sensor value of the "desired" sensor with it's closest reading of "yesterday". I'm afraid I don't have any examples. But you can find further details about the API in the PRTG Manual: Custom Sensors.

You can use Invoke-WebRequest or Invoke-RestMethod in Powershell to interact with PRTG.

Best Regards,
Luciano Lingnau [Paessler Support]

Created on Feb 9, 2017 11:39:08 AM by  Luciano Lingnau [Paessler]

Last change on Jul 30, 2018 10:20:40 AM by  Brandy Greger [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.