Is it possible, that I can get the values from other sensors to the parameter filed in the script sensor (PowerShell)? Through this, I try to pass the values from other sensors to the PowerShell script, that should work with these values.
Article Comments
Hi Moritz,
is it also possible to use the PRTG API for getting values from a Sensor into a lookup file? I am trying to create a lookup file that is dependent to the values of two channels. So I want to construct an if-else-structure based on multiple values, that are not just from the channel that is actively using the lookup file.
Aug, 2020 - Permalink
No this is not possible since lookup files are static files. If you want to cover a range of values, you can use the "range" parameter in your lookup file.
Aug, 2020 - Permalink
Hello Moritz,
thank you for the two replies. They really helped me finding a solution for my primary problem.
Aug, 2020 - Permalink
Hi there,
You can use the PRTG API to extract values from certain Sensors. For example this API call extracts the values of the Core Health Sensor in JSON:
Aug, 2020 - Permalink