I want to build a sensor that contrast the previous day data,
How can I build it?
Article Comments
Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.
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
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