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?
Article Comments
This article applies to PRTG Network Monitor 16 through 17.3.33
Changing the Size of Device and Group Boxes
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:
_Prtg.Core.objects.nameColumnWidth=400;
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
Before
Without tweak—long device name is cut off:

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

Sep, 2011 - Permalink
This article applies to PRTG Network Monitor 16 through 17.3.33
Changing the Size of Device and Group Boxes
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
Before
Without tweak—long device name is cut off:
After
With 400 px set for device width—long device name fully visible:
Sep, 2011 - Permalink