So we have PRTG setup in a Reverse Proxy. PRTG's running on 8080 but we are hitting it via 443. This all works correctly but the problem is the alerts reference the 8080 url , not the one we use to access PRTG. In previous versions I was able to just modify the body of the email. It looks like this functionality is now gone?
Yes, customization of HTML email notifications got removed some time ago, see also this article. It also describes possibilities on what can be altered (header logo and footer) with those new HTML emails.
Besides that, customized text-only emails are possible or a scriptbased approach as described here for creating fully customizable HTML email notifications.
Bummer - it was so easy to modify before. All I'm trying to accomplish is making the links in the email reflect the url we hit to access PRTG. Rather then the URL that the server "thinks" it is. Is this easily accomplished or do I have to go thru the scripting method?
I'm afraid not. One "workaround" could be to place a comment in every sensor that will reflect the desired URL in the comments section of the notification email. It would have to look like this and you have to put in into every sensor:
I mentioned the same issue in a thread about IIS Reverse Proxy: https://kb.paessler.com/en/topic/44613-using-windows-iis-as-ssl-proxy-for-prtg
This and the report header where my only RP issues. Work around were/are: When we follow the email links, we need to change to HTTPS & remove the port specification, and we use a custom "webroot/includes/reportheader.htm" file
Cannot you set the DNS name of PRTG (Setup - System Admin - User Interface - DNS Name)
Eg, my server is called "server1" but PRTG emails all the links as "PRTG.mydomain.com" as that is the DNS name I have setup in PRTG
The feature is "Deprecated" yet I can confirm it still works (at least for me). I added the below single line of html to my PRTG notification footer. File Contents
Location of file:
C:\Program Files (x86)\PRTG Network Monitor\webroot\mailtemplates\footer_custom.htm
I am running what I believe to be the latest build at the time of typing this: PRTG Network Monitor 188.8.131.5229 What this does is adding the DisplayText-PRTG to the bottom of all my notifications and I click on that it hyperlinks over to my web interface for PRTG
I hope it goes without saying: Replace the DDNS/WAN_IP and port with your own relative information. Feel free to change the display text to what ever you want. No you do NOT need to include the word PRTG in it anywhere
Thank you, TopGoodman.