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
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 <torben.aagaard at gmail.com>:
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
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
On 3/18/07, Peter Welter <peter.welter at gmail.com> 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 <torben.aagaard at gmail.com>:
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
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
Hi Henrik
I knew it was a trivial task :=)
Just was I was looking for - thanks a lot !
BR /Torben
On 3/18/07, Henrik Stoerner <henrik at hswn.dk> 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (3)
-
henrik@hswn.dk
-
peter.welter@gmail.com
-
torben.aagaard@gmail.com