Is it possible, that a read only user can see the set thresholds of a sensor?
Article Comments
Ok and thanks, but is there a way to extract some limitvalues from selected sensor channels?
Oct, 2021 - Permalink
Hello,
limit values can be set through the API, but not read out. As a read-only account cannot access the channel configuration dialogue, there is no workaround available which would use reading the HTTP interface.
Except for some system health sensors, channel limits are usually round numbers, like 10 or 25, and can be guessed looking at the gauge.
Oct, 2021 - Permalink
Is it possible to export these limits for PRTG admins? For example to extract them with a Powershell from the configuration.dat?
Oct, 2021 - Permalink
Hello,
as admin (or write user) you cannot directly export limits, it would require complex handling of interface communication.
With file access to the "PRTG Configuration.dat" one can of course parse it. (Please create a copy first and parse that copy, as the .dat file itself can be required to be opened for write access by PRTG in order to save changes.)
Limits are however stored in the base unit, which can be different from the unit represented in the interface (meaning the numeric values might be scaled differently).
We currently work on a new API, which allows to read a lot more detail out of PRTG than the current one. (There is no release date yet.)
Oct, 2021 - Permalink
Hello Michel,
read-only users can only see the limits as graphic interpretation in the sensor gauges, but cannot open the channel configuration to see the limit values entered there.
Oct, 2021 - Permalink