Hello,
I just set up a Hobbit-server for testing, to see if we (hopefully) can "upgrade" from our old bigbrother. One feature we have missed is to be able to set up pages with non-critical/testing/private machines, that wont affect the over-all status of the Hobbit main-page.
If one could set this as a page property flag or something ("ignore-in-parent"), that would be superb.
Is this perhaps already possible?
Also (and please bear over with me on this one), are there any plans on making bb-hosts more structured? I find it difficult to place things where I want them on pages, especially the main page.
If I have this in bb-hosts:
---- 8< ---- title <b>Blabla</b> nnn.nn.nnn.nn blabla.uninett.no # bbd https://blabla.uninett.no/ ssh
SAMSIX2 machines:
page samsix2 SAMSIX machines group-compress <b>SAMSIX2</b> nnn.nn.nnn.nn samsix2.nnnn.no # !ftp ssh smtp dns
SAMSON3 machines:
page samsix3 SAMSON3-maskiner group-compress <b>SAMSIX3</b> nnn.nn.nnn.nn samsix3.nnnn.no # !ftp ssh smtp dns ---- >8 ----
I get a page that looks like this:
---- 8< ----
Pages Hosted Locally
SAMSIX2 machines | SAMSIX3 machines
Blabla
bbd bbgen bbtest conn cpu ....
blabla.uninett.no o o o o o ....
---- >8 ----
How do I get "Blabla" placed over the SAMSIXen, and how do I set a title for the main page (that is, replace "Pages Hotes Locally")?
I hate to bring up XML, but in this case I'm very tempted :)
-- Kolbjørn Barmen UNINETT Driftsenter
Hi Kolbjørn,
All of this can be done with building alternate page sets. The second thing you ask can be configured also check the man page for bbgen and look for --pages-last
BR Thomas
Kolbjørn Barmen wrote:
Hello,
I just set up a Hobbit-server for testing, to see if we (hopefully) can "upgrade" from our old bigbrother. One feature we have missed is to be able to set up pages with non-critical/testing/private machines, that wont affect the over-all status of the Hobbit main-page.
If one could set this as a page property flag or something ("ignore-in-parent"), that would be superb.
Is this perhaps already possible?
Also (and please bear over with me on this one), are there any plans on making bb-hosts more structured? I find it difficult to place things where I want them on pages, especially the main page.
If I have this in bb-hosts:
---- 8< ---- title <b>Blabla</b> nnn.nn.nnn.nn blabla.uninett.no # bbd https://blabla.uninett.no/ ssh
SAMSIX2 machines:
page samsix2 SAMSIX machines group-compress <b>SAMSIX2</b> nnn.nn.nnn.nn samsix2.nnnn.no # !ftp ssh smtp dns
SAMSON3 machines:
page samsix3 SAMSON3-maskiner group-compress <b>SAMSIX3</b> nnn.nn.nnn.nn samsix3.nnnn.no # !ftp ssh smtp dns ---- >8 ----
I get a page that looks like this:
---- 8< ----
Pages Hosted Locally
SAMSIX2 machines | SAMSIX3 machines
Blabla
bbd bbgen bbtest conn cpu ....blabla.uninett.no o o o o o ....
---- >8 ----
How do I get "Blabla" placed over the SAMSIXen, and how do I set a title for the main page (that is, replace "Pages Hotes Locally")?
I hate to bring up XML, but in this case I'm very tempted :)
On Fri, 24 Mar 2006, Thomas wrote:
Hi Kolbjørn,
All of this can be done with building alternate page sets. The second thing you ask can be configured also check the man page for bbgen and look for --pages-last
Thanks for sending me in the right direction, I see now lots of new possibilites :)
-- Kolbjørn Barmen UNINETT Driftsenter
On Fri, 24 Mar 2006, Thomas wrote:
Kolbjørn Barmen wrote:
Hello,
I just set up a Hobbit-server for testing, to see if we (hopefully) can "upgrade" from our old bigbrother. One feature we have missed is to be able to set up pages with non-critical/testing/private machines, that wont affect the over-all status of the Hobbit main-page.
If one could set this as a page property flag or something ("ignore-in-parent"), that would be superb. Is this perhaps already possible?
All of this can be done with building alternate page sets.
OK, I finally got around to try it out.
I put this into my bb-hosts:
PRIVATE maskiner
privatpage kolla Kolla sine maskiner privatgroup-compress privatpage einar Einar sine maskiner privatgroup-compress privatpage oep Øyvind sine maskiner privatgroup-compress <b>Here goes...</b>
and put in PRIVAT:kolla, PRIVAT:einar and PRIVAT:oep on the respective's machines.
Then I made a $BBHOME/ext/privat.sh looking like this:
#!/bin/sh BBWEB="/private-maskiner" $BBHOME/bin/bbgen --pageset=privat $BBHOME/www/private-maskiner/
and lastly, made an entry in $BBHOME/etc/hobbitlaunch.cfg:
[bbprivat] ENVFILE /home/hobbit/server/etc/hobbitserver.cfg NEEDS hobbitd CMD $BBHOME/ext/privat.sh LOGFILE $BBSERVERLOGS/privat.log INTERVAL 1m
And it works nicely - for /private-maskiner - however, they machines are still showing up on the default pages, and alarms are not limited to show up inside /private-maskiner.
Am I missing something, or is it not possible to configure it so that certain machines are only viewable/"alarmable" from within a certain alternate page?
-- Kolbjørn Barmen UNINETT Driftsenter
An HTML attachment was scrubbed... URL: <http://lists.xymon.com/pipermail/xymon/attachments/20060403/840984e2/attachment.html>
Try adding the "nodisp" tag to the host's descriptions in bb-hosts. This will prevent them from showing up on the main pages, they will only appear on the alternate pagesets you specify. Alerts will not be propagated upward to the main page.
Thanks, Larry Barber
On 4/3/06, Thomas <tlp-hobbit at holme-pedersen.dk> wrote:
Hi Kolbjørn,
Alarms are configured on a globla basis. What you are missing is to change the BBLOCATION tag for all the other hosts in your bb-hosts file to something different and then configure your global display test to look only at them, this is done in hobbitserver.cfg
Kolbjørn Barmen wrote:
On Fri, 24 Mar 2006, Thomas wrote:
Kolbjørn Barmen wrote:
Hello,I just set up a Hobbit-server for testing, to see if we (hopefully) can "upgrade" from our old bigbrother. One feature we have missed is to be able to set up pages with non-critical/testing/private machines, that wont affect the over-all status of the Hobbit main-page.
If one could set this as a page property flag or something ("ignore-in-parent"), that would be superb. Is this perhaps already possible?
All of this can be done with building alternate page sets.
OK, I finally got around to try it out.
I put this into my bb-hosts:
PRIVATE maskiner
privatpage kolla Kolla sine maskiner privatgroup-compress privatpage einar Einar sine maskiner privatgroup-compress privatpage oep Øyvind sine maskiner privatgroup-compress <b>Here goes...</b>
and put in PRIVAT:kolla, PRIVAT:einar and PRIVAT:oep on the respective's machines.
Then I made a $BBHOME/ext/privat.sh looking like this:
#!/bin/sh BBWEB="/private-maskiner" $BBHOME/bin/bbgen --pageset=privat $BBHOME/www/private-maskiner/
and lastly, made an entry in $BBHOME/etc/hobbitlaunch.cfg:
[bbprivat] ENVFILE /home/hobbit/server/etc/hobbitserver.cfg NEEDS hobbitd CMD $BBHOME/ext/privat.sh LOGFILE $BBSERVERLOGS/privat.log INTERVAL 1m
And it works nicely - for /private-maskiner - however, they machines are still showing up on the default pages, and alarms are not limited to show up inside /private-maskiner.
Am I missing something, or is it not possible to configure it so that certain machines are only viewable/"alarmable" from within a certain alternate page?
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
On Mon, 3 Apr 2006, Larry Barber wrote:
Try adding the "nodisp" tag to the host's descriptions in bb-hosts. This will prevent them from showing up on the main pages, they will only appear on the alternate pagesets you specify. Alerts will not be propagated upward to the main page.
This didnt seem to work for me, but I did as Thomas suggested and that works OK. (A minor annoyance though is that I still see my PRIVATE: machines in the "All non-green view", I think I saw some option I can set to avoid this too... maybe that is "nodisp", hm.)
However - and I reckon this is a bug in my running version of Hobbit (4.2pre downloaded a few weeks ago) that might be fixed in the current alpha release: If I go to "Administration / Find host", no matter what machine I type it always says that the location is "Top page".
Thanks, Larry Barber
On 4/3/06, Thomas <tlp-hobbit at holme-pedersen.dk> wrote:
Hi Kolbjørn,
Alarms are configured on a globla basis. What you are missing is to change the BBLOCATION tag for all the other hosts in your bb-hosts file to something different and then configure your global display test to look only at them, this is done in hobbitserver.cfg
Kolbjørn Barmen wrote:
On Fri, 24 Mar 2006, Thomas wrote:
Kolbjørn Barmen wrote:
Hello,I just set up a Hobbit-server for testing, to see if we (hopefully) can "upgrade" from our old bigbrother. One feature we have missed is to be able to set up pages with non-critical/testing/private machines, that wont affect the over-all status of the Hobbit main-page.
If one could set this as a page property flag or something ("ignore-in-parent"), that would be superb. Is this perhaps already possible?
All of this can be done with building alternate page sets.
OK, I finally got around to try it out.
I put this into my bb-hosts:
PRIVATE maskiner
privatpage kolla Kolla sine maskiner privatgroup-compress privatpage einar Einar sine maskiner privatgroup-compress privatpage oep Øyvind sine maskiner privatgroup-compress <b>Here goes...</b>
and put in PRIVAT:kolla, PRIVAT:einar and PRIVAT:oep on the respective's machines.
Then I made a $BBHOME/ext/privat.sh looking like this:
#!/bin/sh BBWEB="/private-maskiner" $BBHOME/bin/bbgen --pageset=privat $BBHOME/www/private-maskiner/
and lastly, made an entry in $BBHOME/etc/hobbitlaunch.cfg:
[bbprivat] ENVFILE /home/hobbit/server/etc/hobbitserver.cfg NEEDS hobbitd CMD $BBHOME/ext/privat.sh LOGFILE $BBSERVERLOGS/privat.log INTERVAL 1m
And it works nicely - for /private-maskiner - however, they machines are still showing up on the default pages, and alarms are not limited to show up inside /private-maskiner.
Am I missing something, or is it not possible to configure it so that certain machines are only viewable/"alarmable" from within a certain alternate page?
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Kolbjørn Barmen UNINETT Driftsenter
participants (3)
-
kolbjorn.barmen@uninett.no
-
lebarber@gmail.com
-
tlp-hobbit@holme-pedersen.dk