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


Article Comments

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]


Feb, 2017 - Permalink