Xymon Mailing List Archive search

Grouping pages

5 messages in this thread

list Torben Aagaard · Sun, 18 Mar 2007 11:59:55 +0100 ·
Hi hobbits!

This might be trivial - but I cannot figure out how to group pages on my
display server.

I have 9 1st level pages that I'd like to divide into groups ( Internal
systems, Customers, Test, sct. ).

Is that possible ?

BR
/Torben
list Peter Welter · Sun, 18 Mar 2007 15:00:28 +0100 ·
Hi Torben,

See the man-page for bb-hosts and have a look at the group-directive.

http://www.hswn.dk/hobbit/help/manpages/man5/bb-hosts.5.html

Peter
2007/3/18, Torben Aagaard <user-b194f0438dc4@xymon.invalid>:
quoted from Torben Aagaard
Hi hobbits!

This might be trivial - but I cannot figure out how to group pages on my
display server.

I have 9 1st level pages that I'd like to divide into groups ( Internal
systems, Customers, Test, sct. ).

Is that possible ?

BR
/Torben
list Henrik Størner · Sun, 18 Mar 2007 16:17:33 +0100 ·
quoted from Torben Aagaard
On Sun, Mar 18, 2007 at 11:59:55AM +0100, Torben Aagaard wrote:
This might be trivial - but I cannot figure out how to group pages on my
display server.

I have 9 1st level pages that I'd like to divide into groups ( Internal
systems, Customers, Test, sct. ).

Is that possible ?

Grouping pages is not directly supported the way it is for hosts.
But you can accomplish the same thing by using the "title" setting to
break up the page list. Just put an empty "title" line before the "page"
line, and it will divide the list of pages into groups.

Of course, you can also add some text to the "title" as a heading for
the pages that come below.


Regards,
Henrik
list Torben Aagaard · Sun, 18 Mar 2007 16:49:18 +0100 ·
Hi Peter

The problem is that all hosts and group directives following the first
'page' appears on that specific page ( until the next page or subpage ).

Let's say I have these pages defined:

page hostsA Host on network A
x.x.x.x foo # ssh

page hostsB Hosts on network B
y.y.y.y bar # ssh

page cust1 Customer 1
z.z.z.z joe # ssh

page cust2 Customer 2
w.w.w.w fred # ssh

Then all the pages appears on the front page under "Pages Hosted Locally".
What I'm looking for  is a way of grouping multiple pages ( one group called
"Internal Hosts" and one group called "Customers". I don't think the group
directive can help me here ?

BR
/Torben
quoted from Peter Welter


On 3/18/07, Peter Welter <user-f55666bd0d1e@xymon.invalid> wrote:
Hi Torben,

See the man-page for bb-hosts and have a look at the group-directive.

http://www.hswn.dk/hobbit/help/manpages/man5/bb-hosts.5.html

Peter
2007/3/18, Torben Aagaard <user-b194f0438dc4@xymon.invalid>:
Hi hobbits!

This might be trivial - but I cannot figure out how to group pages on my
display server.

I have 9 1st level pages that I'd like to divide into groups ( Internal
systems, Customers, Test, sct. ).

Is that possible ?

BR
/Torben
list Torben Aagaard · Sun, 18 Mar 2007 16:54:44 +0100 ·
Hi Henrik

I knew it was a trivial task :=)

Just was I was looking for - thanks a lot !

BR
/Torben
quoted from Henrik Størner

On 3/18/07, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
On Sun, Mar 18, 2007 at 11:59:55AM +0100, Torben Aagaard wrote:
This might be trivial - but I cannot figure out how to group pages on my
display server.

I have 9 1st level pages that I'd like to divide into groups ( Internal
systems, Customers, Test, sct. ).

Is that possible ?

Grouping pages is not directly supported the way it is for hosts.
But you can accomplish the same thing by using the "title" setting to
break up the page list. Just put an empty "title" line before the "page"
line, and it will divide the list of pages into groups.

Of course, you can also add some text to the "title" as a heading for
the pages that come below.


Regards,
Henrik