we have two groups of users for our PRTG system:

  1. Admins: they add/delete objects and sensors, they change threshold and alter the configuration... They have fullaccess to everything.
  2. Users: they do the daily business, react to alarms and repair the problem. They have only readaccess to everything. They must not change anything in the configuration.

The problem is, the users should be able to add maintanence windows for the objects. But read-only users cant pause objects. I have already read in older posts that this is not possible with read-only access. Is there a way through the API to achieve what I want? Maybe a ready to use script?

Regards
Michael Fink


Article Comments

Hello Michael,
thank you for your KB-Post.

The answers that you've located in the KB are correct. Read only users can't pause or modify schedules/maintenance windows since that would effectively be a write operational.

However, pausing and resuming objects via the API is possible. You could create a minimal interface with the current alarms and a "pause" button next to it, which would use a different account/credentials to pause/resume objects. The command line is mentioned in several threads:

Best Regards,
Luciano Lingnau [Paessler Support]


Feb, 2017 - Permalink

we have the Problem that a user with right rights, can´t Pause a Sensor


Jul, 2019 - Permalink

Hi there,

This is intended and by design. If a read-only would be able to pause sensors (change), then it wouldn't be a read-only user. As "pausing" is a form of change, you require a write user with the correct Access Rights to the object.

Best regards.


Jul, 2019 - Permalink