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 change the width of the devices and group "boxes" shown in the PRTG device tree?



I have configured very long device and group names. When viewing the device tree in PRTG's web interface, the names are cut off, because the boxes showing the device or group names are too narrow.

How can I change the width of the boxes shown in the device tree?

customize device device-tree javascript prtg web-interface

Created on Sep 15, 2011 4:31:54 PM by  Daniel Zobel [Product Manager]

Last change on Mar 28, 2014 2:55:58 PM by  Gerald Schoch [Paessler Support]

1 Reply

Accepted Answer



This article applies to PRTG Network Monitor 16 through 17.3.33

Changing the Size of Device and Group Boxes

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?

This article provides information about advanced procedures that are not officially covered by our customer support offer. Use at your own risk.

There are various aspects that we have to look at when we size the boxes. We want to pack as many devices/sensors into the display (making the boxes small) and we want to show as much name information as necessary (making the boxes bigger). There is no optimum point that meets all customers' needs.

You can experiment with your own values. In your PRTG program directory, edit the file \webroot\javascript\scripts_custom.js (it is likely empty), and add this line:


Then experiment with this value. In your browser, perform a full reload to load the script after changing it. You may need to change your browser window and re-open it to get around caching.

Note: In PRTG versions previous to 13.2.3 (as of PRTG 9), please edit the file \website\javascript\customerscripts.js


Without tweak—long device name is cut off:


With 400 px set for device width—long device name fully visible:

Created on Sep 15, 2011 4:36:22 PM by  Daniel Zobel [Product Manager]

Last change on Mar 22, 2018 12:21:30 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.