I have a host and I changed its alias
Now when i get notifaction emails it stays as the old one.
Can anyone tell me why and how to solve this
alias stays static
Re: alias stays static
Where do you even set the alias? I added a host by copying an existing one then changing, the name, description, address, etc. However it still has the alias of the host that I copied it from. I can't find where the alias is even set.
This is very confusing, as each alert generated by that host gets sent with the wrong name in the message.
This is very confusing, as each alert generated by that host gets sent with the wrong name in the message.
Re: alias stays static
OK, just read the description of the "Description" field and found out that is the alias.
I'm having the same issue as the original poster. I've changed the alias, yet that change isn't reflected in alerts.
I'm having the same issue as the original poster. I've changed the alias, yet that change isn't reflected in alerts.
Re: alias stays static
Have you specified the host alias macro in your notification handler? If that hasn't changed then you'll still get notifications with the host_name directive.
http://nagios.sourceforge.net/docs/3_0/ ... ml#command
http://nagios.sourceforge.net/docs/3_0/macrolist.html
http://nagios.sourceforge.net/docs/3_0/ ... ml#command
http://nagios.sourceforge.net/docs/3_0/macrolist.html
Re: alias stays static
There is atm a bug in nagios and various threads according to this topic, e.g. see: http://support.nagios.com/forum/viewtop ... f=7&t=1666
You have to shut down nagios, delete retention.dat and restart nagios.
You have to shut down nagios, delete retention.dat and restart nagios.
Re: alias stays static
Thanks for the update.