What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags

View all Tags

How can I hide sensors with a specific status from my PRTG read-only users?



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?

css customize hide-sensors pause prtg read-only script

Created on May 17, 2013 8:46:47 AM by  Gerald Schoch [Paessler Support]

1 Reply

Accepted Answer



This article applies to PRTG Network Monitor 13.2.3 through 17.3.33

Hiding Specific Sensor States from Read-Only Users

Important note: The current customization approach is unsupported and deprecated as of versions 17.3.34/17.4.35. This customization no longer works. For more details, see How can I re-brand and customize the PRTG web interface using CSS and Javascript?

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:

  1. Navigate to the folder of the PRTG program directory containing PRTG’s Cascading Style Sheet (CSS) files: \PRTG Network Monitor\webroot\css
  2. Open the file styles_custom.css with a text editor. Note: It will be empty if you have not added anything yet.
  3. Copy the following code and paste it into the editor: body.readonly sensor.ispaused, body.readonly sensor.status7, body.readonly tr.sb, body.readonly div.statusinfo.pausedsens {display:none!important}
  4. Save the file with the code.
  5. Navigate to the following folder of the PRTG program directory: \PRTG Network Monitor\webroot\includes
  6. Open the file htmlfooter_custom.htm with a text editor. Note: It will be empty if you have not added anything yet.
  7. Copy the following code and paste it into the editor: <script> if(<#system type="usertype" contentreadonly="true" contentnotreadonly="false">){ $("body").addClass("readonly"); } </script>
  8. Save the file with the code.

After this customization of PRTG’s web interface, users with read-only rights will not see sensors in paused state anymore.

Created on May 17, 2013 8:51:33 AM by  Gerald Schoch [Paessler Support]

Last change on Mar 22, 2018 12:21:59 PM by  Brandy Greger [Paessler Support]

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.