Is there a variable for host description for Email Alerts?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
mberkley
Posts: 38
Joined: Thu Mar 27, 2014 10:46 am
Location: Chicago, IL
Contact:

Is there a variable for host description for Email Alerts?

Post 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.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

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

Post by sreinhardt »

Description is actually entered into the config as alias, so $HOSTALIAS$ or %hostalias% should do the trick for you!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked