Order of appearance of Hostgroups

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
sreesha
Posts: 19
Joined: Wed Jun 13, 2012 12:18 pm

Order of appearance of Hostgroups

Post by sreesha »

Hi,

When hostgroups are defined, on the console, they appear in alphabetical order. Is there any way to list the hostgroups in another manner of our choice ?
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Order of appearance of Hostgroups

Post by agriffin »

I'm not aware of any way to change the order without modifying the source or using a different frontend, sorry.
User avatar
sebastiaopburnay
Posts: 105
Joined: Sun Oct 31, 2010 1:40 pm
Location: Lisbon, Portugal

Re: Order of appearance of Hostgroups

Post by sebastiaopburnay »

I guess you would have to redefine your Web interface.

The way I manage those issues is having two interfaces which use different properties from the nagios configurated objects, therefore, some host with a hostname of ziehost and display_name of diehost, would naturally come in diferent positions depending on the iface.

But beware, designing an interface/dashboard to collect nagios data is an expensive task that will consume a lot of time and would probably require you to have NDOUtils properly configured, so you could use it as some kind of pool to populate your Dashboard/Iface.

My advice is for you to carefully weigh that relationship between the need of change, its cost and the success of an eventual workaround

Kind regards,
sebastiaopburnay
Locked