Xymon Mailing List Archive search

sort pages alphabetically

3 messages in this thread

list Robert Schetterer · Wed, 30 Jan 2008 12:59:13 +0100 ·
Hi @ll
is there an easy options to sort output pages
alphabetically, it seems that
per default they are sorted just like they are written
in bb-hosts
-- 
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria
list Henrik Størner · Wed, 30 Jan 2008 15:04:17 +0100 ·
quoted from Robert Schetterer
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.


Regards,
Henrik
list Gary Baluha · Wed, 30 Jan 2008 09:48:29 -0500 ·
quoted from Henrik Størner
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