Receive the alerts email by hostname / ip address

Hi guys
I would like to receive alerts in the email by hostname / system name and NOT by ip address.
is there a way to do this?
knowing that on librenms I see my equipment by hostname / system name,
but when I receive the email alerts it is by ip address.

Hi,

You only have to edit your template to show what you want. Check https://docs.librenms.org/Alerting/Templates/ to see how it works