Page 1 of 1

Display Name instead of HostName

Posted: Mon Jun 18, 2012 8:26 pm
by HeWhoWas
Hey Guys,

I monitor quite a few servers with Nagios, and everything runs fantastically, however I need to allow some not-so-techy people check the host & service status. Currently the host is defined and labelled by its Hostname. I can see an option that relates to "Display Name," however neither Nagios Core, nor V-Shell seem to use this Alias in place of the hostname.

Is there any way (Short of downloading the source, editing, and compiling) that I can have user friendly display names in the status.cgi panels?

Note - Changing the hostnames are not an option as we use it to ensure that the load balancer is correctly diverting traffic. Also, losing the last 3 months of availability reports would make my boss have a hernia.

Re: Display Name instead of HostName

Posted: Tue Jun 19, 2012 3:13 pm
by agriffin
No, currently the display_name is not used by anything. It was added to make it possible to do exactly what you're asking, but completing that feature is still relegated to some unspecified future version.

Re: Display Name instead of HostName

Posted: Tue Jun 19, 2012 3:56 pm
by HeWhoWas
Is there a feature request page for this? I've found some threads spanning the last 2 years where people have linked to Feature request pages, but all the links are dead.

Re: Display Name instead of HostName

Posted: Tue Jun 19, 2012 4:33 pm
by agriffin
I couldn't find one just now. The bug tracker is located at tracker.nagios.org nowadays, it may have moved there from some other previous home. You could open another feature request there if it's important to you.

Re: Display Name instead of HostName

Posted: Tue Jun 19, 2012 11:40 pm
by HeWhoWas
I downloaded the source, and had a poke through it to see if anything had started to be implemented, but it doesn't appear that there has been any work done on this feature. Is there any way to perhaps add the alias to the display, rather than replacing it?

This is a glaring omission from the application, and I'm incredibly surprised that it's been a feature request for over 2 years. Unfortunately I'm not familiar enough with the source code to implement it, and I doubt that adding my voice to the last 2 years worth of people asking for the feature is going to change much.

Thanks for all your assistance :-)

Re: Display Name instead of HostName

Posted: Wed Jun 20, 2012 9:31 am
by agriffin
As far as I can tell, it would be a relatively minor change to add this feature. I'm not familiar enough with the code to know tell you how to add it, but don't discount your voice just yet. After all, the feature was already approved by the core developers, other there wouldn't even be a display_name option.