Xymon Mailing List Archive search

ignore pages

list Kolbjørn Barmen
Fri, 7 Apr 2006 10:36:33 +0200 (CEST)
Message-Id: <user-6f177962a09b@xymon.invalid>

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 <user-97316fb2dd2a@xymon.invalid> 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 &Oslash;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