FQDN in alert mails

feature

(HF) #1

I activated a trial run of subscription. The email alerts come in correctly, but lack the FQDN of the server. Could the FQDN be added to the email alert?


(Davide Principi) #2

Hi @laylow, I’m not sure I understood: could you make an example?


(HF) #3

Sure:

Original:

Wish:

HTH, thanks for any considerations.


(Davide Principi) #4

I guess @edoardo_spadoni and @giacomo can help here!


(Rob Bosch) #5

@LayLow I strongly suggest to anonymise the IP address of your server. Besides that, it might be safer to install openvpn on the server and make the servermanager only available from a green interface and not a red interface.


(HF) #6

I fully undestand your recommedations. This is a test server.

@all please take notice of the recommendations.


(Giacomo Sanchietti) #7

The info is not directly available when sending an alert, but it could be retrieved from the DB.
Currently we do not have plans to implement this feature, but any PR is welcome.

This is the relevant code: