Can I change the source of historical graphs?
Modified on 2025-06-10 14:40:45 +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.
Important: We no longer maintain this article. The information might be out of date.
I would like to change the src parameter of the historical graphs that are generated to use absolute paths instead of relative.
For example:
Changing the following line -
<img class="prtgchart load" onload="$(this).removeClass('load');" src="/chart.png?graphid=-1&id=23223&avg=60
to
<img class="prtgchart load" onload="$(this).removeClass('load');" src="https://example.com/chart.png?graphid=-1&id=23223&avg=60
Article Comments
Hi,
I'm afraid it is not possible to change this in the template as only relative URLs are supported there. If you only need the graph URL, just do a right-click on the same and then choose "Open in new tab".
Best regards
Oct, 2012 - Permalink
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.
Hi,
I'm afraid it is not possible to change this in the template as only relative URLs are supported there. If you only need the graph URL, just do a right-click on the same and then choose "Open in new tab".
Best regards
Oct, 2012 - Permalink