Page 1 of 1

Alerts missing host name

Posted: Tue Jun 18, 2013 1:47 pm
by mtkaschools
Hello,

Some of my alerts are missing host names in the text that is e-mailed out. How do I correct that issue?

Thank you,

Aaron

Re: Alerts missing host name

Posted: Tue Jun 18, 2013 1:53 pm
by abrist
This usually happens when you have service notification handlers configured for host notification handlers and vice versa. Check the contact in question for misapplied notification handlers under the contacts "alert settings" tab.

Re: Alerts missing host name

Posted: Tue Jun 18, 2013 1:58 pm
by mtkaschools
Most work just fine. It's just some that do not display the hostname...

Re: Alerts missing host name

Posted: Tue Jun 18, 2013 2:07 pm
by abrist
Were the notification commands correct for the contacts in question?

Re: Alerts missing host name

Posted: Tue Jun 18, 2013 2:10 pm
by mtkaschools
Yes they are correct.

Re: Alerts missing host name

Posted: Tue Jun 18, 2013 2:29 pm
by lmiltchev
What version of Nagios XI are you using? Click on the username in the upper right corner, then click on "Notification Messages" under the "Notification Options" menu, and check the "Host/Service Alert Message" sections. Do you have "Host: %host%" or you have "Host: %hostalias%"?