email template

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
btemple
Posts: 183
Joined: Fri Nov 08, 2013 9:30 am

email template

Post 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
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: email template

Post 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
Former Nagios employee
btemple
Posts: 183
Joined: Fri Nov 08, 2013 9:30 am

Re: email template

Post by btemple »

so if I would have only read the instructions .... Thank You !
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: email template

Post by tmcdonald »

btemple wrote:so if I would have only read the instructions .... Thank You !
:)
Former Nagios employee
Locked