don't sort hostgroup

Marc Powell marc at ena.com
Tue Feb 26 18:33:55 CET 2008



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of James
> Sent: Tuesday, February 26, 2008 9:01 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] don't sort hostgroup
> 
> How do  I NOT sort a hostgroup?
> I am using Nagios-2.10
> I have a hostroup A C B D that displays A B C D
> I want it to display the order it is defined it.

You have no control over this through configuration. You might be able
to modify this behavior through xodtemplate_sort_hosts() in
xdata/xodtemplate.c. That seems to be where the default host sorting is
performed globally.

--
Marc


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list