sort service status information

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
buzzoo
Posts: 3
Joined: Wed Feb 09, 2011 4:23 am

sort service status information

Post by buzzoo »

Hi,

I was wondering if there is any particular reason why nagios allows for sorting all service detail columns except for the status information.
Quite often my service status information contains numbers and being able to sort would greatly help with prioritizing action on issues.
This sort would only really be required when viewing a particular service group as all information would be related.

Thanks,
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: sort service status information

Post by mguthrie »

I think the reason that features isn't there is if you're writing a function to sort, what do you want to sort by? Plugin output can contain just about anything, and without a consistent field or data type to sort by there really isn't a useful way to do that. I'd recommend service groups with subgroups. Otherwise, maybe see if something like Nagios BPI could be of some use.
http://exchange.nagios.org/directory/Ad ... ce/details
buzzoo
Posts: 3
Joined: Wed Feb 09, 2011 4:23 am

Re: sort service status information

Post by buzzoo »

Hi Mguthrie,

Thanks very much for the reply.
Because I am using a service group I can ensure the output data type is consistent for that service.
I just logged onto the nagios XI demo and discovered that they allow you to sort by the "Status Information" column so it is possible and very useful when dealing with service groups.
It seems they are just not providing this feature in the core release.
I will also look into your suggestion of sub-groups and Nagios BPI to see if they can help narrow down my results.

Regards,
Richard
buzzoo
Posts: 3
Joined: Wed Feb 09, 2011 4:23 am

Re: sort service status information

Post by buzzoo »

http://www.thruk.org/index.html

1.32 Sat Jun 2 18:46:38 CEST 2012
- added sort by status information

Thanks Thruk!!!
Locked