Page 1 of 1

Is there a variable for host description for Email Alerts?

Posted: Mon Jun 02, 2014 11:57 am
by mberkley
In Nagios14, is there an way to include the description of the host in the email alerts?

In your documentation you have:
%host% The host name.
%hostaddress% The address of the host. Usually an IP address or FQDN.
%hostalias% An alias for the host. Usually the same as %hostname%.

But there isn't a "alias" section available in the Host Management
Image

We would like to see the description get sent out in the email alerts so we can actually know not only the host name, but perhaps what the server actually is, or is affecting.

Thank You.

Re: Is there a variable for host description for Email Alert

Posted: Mon Jun 02, 2014 2:31 pm
by sreinhardt
Description is actually entered into the config as alias, so $HOSTALIAS$ or %hostalias% should do the trick for you!