I would like to hide paused sensors for users with read-only rights. How can I remove these sensors from being shown to a certain type of users of my PRTG installation?
How can I hide sensors with a specific status from my PRTG read-only users?
Modified on 2025-06-10 12:59:44 +0200
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.
Disclaimer:
The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.
The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.
This article applies to PRTG Network Monitor 13.2.3 through 17.3.33
Hiding Specific Sensor States from Read-Only Users
The web interface of PRTG Network Monitor is highly customizable. You can add your own CSS code and images, change the colors of your PRTG, and many more. You are even able to re-brand the interface to truly make it your own.
These adaptions are easy to implement and easy to use. Hiding sensors from users regarding to a status is one aspect of PRTG that can be achieved with little interface adjustments. Please see below how to achieve this.
Warning: The adaptations in this article work for the declared PRTG version. However, we cannot guarantee that future versions will support them. So, for future PRTG versions additional adjustments may be required, but of course we try to avoid such situations.
Steps to Go
Adding the following code to the named files will enable you to hide sensors in paused status from read-only user:
body.readonly sensor.ispaused, body.readonly sensor.status7, body.readonly tr.sb, body.readonly div.statusinfo.pausedsens {display:none!important}<script> if(<#system type="usertype" contentreadonly="true" contentnotreadonly="false">){ $("body").addClass("readonly"); } </script>After this customization of PRTG’s web interface, users with read-only rights will not see sensors in paused state anymore.
May, 2013 - Permalink