Display Hostname with Warning or Critical

Is there a way to also show the hostname of a computer when there is a warning or critical error that gets sent out via email? Right now it is only displaying the IP address.

Thanks

have a look here:

nagios.sourceforge.net/docs/3_0/macros.html

and modify your host/service-notify-by-email command accordingly :slight_smile:

Thanks. I figured out that I needed to have the alias in the define host part the same as the computer name. Not Windows Server.