Display Name instead of HostName

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
HeWhoWas
Posts: 3
Joined: Mon Jun 18, 2012 8:04 pm

Display Name instead of HostName

Post 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.
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Display Name instead of HostName

Post 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.
HeWhoWas
Posts: 3
Joined: Mon Jun 18, 2012 8:04 pm

Re: Display Name instead of HostName

Post 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.
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Display Name instead of HostName

Post 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.
HeWhoWas
Posts: 3
Joined: Mon Jun 18, 2012 8:04 pm

Re: Display Name instead of HostName

Post 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 :-)
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Display Name instead of HostName

Post 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.
Locked