Notification Alert Host name blank

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
kruserm
Posts: 19
Joined: Thu Aug 02, 2012 2:41 pm

Notification Alert Host name blank

Post by kruserm »

On the alert notifications the host is blank. Here is what the email looks like:
***** Nagios XI Alert *****

Nagios has detected this service has recovered.

Notification Type: RECOVERY

Service: Uptime
Host:
Address: 172.26.6.110
State: OK
Info:
System Uptime - 140 day(s) 21 hour(s) 30 minute(s)
Date/Time: 2012-11-14 10:42:46

It gives the IP but no host name. When we add the host through the wizard and give it the IP in the wizard it is able to resolve the name. So I am not sure what is going on with the notifications. Let me know if you need more info.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Notification Alert Host name blank

Post by scottwilkerson »

I believe I can see the problem. I think that some of your hosts do not have Description set and that is throwing you message template off.

If you click the username in the top right corner of XI.
Go to "Notification Messages"

In the Host/Service Alert Subject change %hostalias% to %host%

In the Service Alert Message change %hostalias% to %host%
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
kruserm
Posts: 19
Joined: Thu Aug 02, 2012 2:41 pm

Re: Notification Alert Host name blank

Post by kruserm »

That fixed the issue for me, but do I need to have all users go into their profile and make these changes? Is there a way that I can make the change for all existing users and new users when they get added? I guess I am asking can I make this the default?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Notification Alert Host name blank

Post by lmiltchev »

You can go to: Admin->Notification Management (it's under "Users"), setup a template, select the "Set these notification messages as default for all users" check-box, and click on "Update Settings".

Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
kruserm
Posts: 19
Joined: Thu Aug 02, 2012 2:41 pm

Re: Notification Alert Host name blank

Post by kruserm »

arrrrggg...are you kidding after upgrading from xi 2011 to xi 2012 you moved the bulk notification tool into the enterprise edition, what a pain!
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Notification Alert Host name blank

Post by slansing »

Were you able to do what lmiltchev suggested? The Bulk Modification Tool has always been labled as a feature of the Enterprise edition since beta:

http://labs.nagios.com/2012/09/11/nagio ... blic-beta/
Locked