Page 1 of 1

email template

Posted: Wed Sep 16, 2015 9:25 am
by btemple
Is there a way to adjust our email template to include the (Alias) or (Description) in the subject of the email. I tried %alias% in the subject line of the template but it just put %alias% instead of calling owner BTEMPLE

Re: email template

Posted: Wed Sep 16, 2015 9:33 am
by tmcdonald
You need to use %hostalias%. All of the various aliases are in your xi_host_notification_handler and xi_service_notification_handler commands, and the following doc explains in more detail:

https://assets.nagios.com/downloads/nag ... iables.pdf

Re: email template

Posted: Wed Sep 16, 2015 9:38 am
by btemple
so if I would have only read the instructions .... Thank You !

Re: email template

Posted: Wed Sep 16, 2015 10:03 am
by tmcdonald
btemple wrote:so if I would have only read the instructions .... Thank You !
:)