Xymon Mailing List Archive search

sort pages alphabetically

list Gary Baluha
Wed, 30 Jan 2008 09:48:29 -0500
Message-Id: <user-bf5e9f64ba22@xymon.invalid>

On Jan 30, 2008 9:04 AM, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
On Wed, Jan 30, 2008 at 12:59:13PM +0100, Robert Schetterer wrote:
Hi @ll
is there an easy options to sort output pages
alphabetically
No, pages appear in the order they are defined in bb-hosts.

Although I've had some issues getting stuff to appear exactly in the order
I'd like when I have multiple "title" sections on the same page.  For
example, I have a section that looks like this:

bb-hosts file
. . .
page ABC ABC
title ABC
1.2.3.4  HostA
title DEF DEF
group Z
5.6.7.8  HostB
title GHI GHI
group Y
1.1.1.1  HostC
group X
2.2.2.2. Host D
title JKL JKL
subpage XYZ
title WXY
3.3.3.3  HostE

In this case, the order the sections show on the hobbit page is:

JKL
->subsections WXY, etc

ABC

DEF

GHI