Xymon Mailing List Archive search

hobbit-server tests on dummy host?

5 messages in this thread

list Kolbjørn Barmen · Wed, 19 Jul 2006 19:49:54 +0200 (CEST) ·
I'm just pondering on if it's possible to move the tests relate to
the hobbit-server to a dummy host on a different page. The problem is that
the machine has so many test that I now have to scroll sideways on my
laptop, which is annoying.

The only tests that my hobbit-server box doesnt share with other machines
are the hobbit-server related tests bbd, bbgen, bbtest and hobbitd, so I
wish to put them on a "Hobbit"-dummy host under a "Surveylance" page.

Is there a "clean" wy to do this?

I started off by moving bbd in bbclients, but then I had to add "hobbit"
to the 127.0.0.1 entry in /etc/hosts for the check to work out :)

-- 
Kolbjørn Barmen
UNINETT Driftsenter
list Henrik Størner · Wed, 19 Jul 2006 21:52:27 +0200 ·
quoted from Kolbjørn Barmen
On Wed, Jul 19, 2006 at 07:49:54PM +0200, Kolbjørn Barmen wrote:
I'm just pondering on if it's possible to move the tests relate to
the hobbit-server to a dummy host on a different page. The problem is that
the machine has so many test that I now have to scroll sideways on my
laptop, which is annoying.

The only tests that my hobbit-server box doesnt share with other machines
are the hobbit-server related tests bbd, bbgen, bbtest and hobbitd, so I
wish to put them on a "Hobbit"-dummy host under a "Surveylance" page.

Is there a "clean" wy to do this?
Put the current entry for the hobbit server inside a "group-only"
definition, listing only the standard columns. Then add a second
definition for the Hobbit server elsewhere, perhaps inside a
"group-except" definition to remove the standard columns.


Regards,
Henrik
list Kolbjørn Barmen · Thu, 20 Jul 2006 16:30:09 +0200 (CEST) ·
quoted from Henrik Størner
On Wed, 19 Jul 2006, Henrik Stoerner wrote:
On Wed, Jul 19, 2006 at 07:49:54PM +0200, Kolbjørn Barmen wrote:
I'm just pondering on if it's possible to move the tests relate to
the hobbit-server to a dummy host on a different page. The problem is that
the machine has so many test that I now have to scroll sideways on my
laptop, which is annoying.

The only tests that my hobbit-server box doesnt share with other machines
are the hobbit-server related tests bbd, bbgen, bbtest and hobbitd, so I
wish to put them on a "Hobbit"-dummy host under a "Surveylance" page.

Is there a "clean" wy to do this?
Put the current entry for the hobbit server inside a "group-only"
definition, listing only the standard columns. Then add a second
definition for the Hobbit server elsewhere, perhaps inside a
"group-except" definition to remove the standard columns.
OK, thanks!

I found out about this and more in the bbgen man page :)

However, now the bbnet check keeps flapping yellow with :

  Error output:
  Host bigbrother.uninett.no appears twice in bb-hosts! This may cause
  strange results


bb-hosts has:

page uninett-bb Overvåkning
group-only bbgen|bbtest|hobbitd|muninserver <b>Overv&aring;kning</b>
0.0.0.0   bigbrother.uninett.no       # NAME:Hobbit COMMENT:"Dette er en test" noconn noinfo bbd muninserver

page uninett-viktig Viktige UNINETT-maskiner
group-except bbd|bbgen|bbtest|hobbitd|muninserver <b>Viktige maskiner</b>
158.38.130.84   bigbrother.uninett.no # prefer ssh https://bigbrother.uninett.no/ https://munin.uninett.no/

Also, despite NAME: and COMMENT:, it still just outputs "bigbrother.uninett.no"

Version installed is 4.2-beta-20060605 still.. :/

Ideas?

-- 
Kolbjørn Barmen
UNINETT Driftsenter
list Henrik Størner · Thu, 20 Jul 2006 16:58:12 +0200 ·
quoted from Kolbjørn Barmen
On Thu, Jul 20, 2006 at 04:30:09PM +0200, user-5623b4f246b3@xymon.invalid wrote:
  Error output:
  Host bigbrother.uninett.no appears twice in bb-hosts! This may cause
  strange results

page uninett-bb Overv&aring;kning
group-only bbgen|bbtest|hobbitd|muninserver <b>Overv&aring;kning</b>
0.0.0.0   bigbrother.uninett.no       # NAME:Hobbit COMMENT:"Dette er en test" noconn noinfo bbd muninserver

page uninett-viktig Viktige UNINETT-maskiner
group-except bbd|bbgen|bbtest|hobbitd|muninserver <b>Viktige maskiner</b>
158.38.130.84   bigbrother.uninett.no # prefer ssh https://bigbrother.uninett.no/ https://munin.uninett.no/
Put ALL of your definitions on one host, the second one should ONLY be a
placeholder. Like:

page uninett-bb Overv&aring;kning
group-only bbgen|bbtest|hobbitd|muninserver <b>Overv&aring;kning</b>
0.0.0.0   bigbrother.uninett.no       # noconn

page uninett-viktig Viktige UNINETT-maskiner
group-except bbd|bbgen|bbtest|hobbitd|muninserver <b>Viktige maskiner</b>
158.38.130.84   bigbrother.uninett.no # prefer ssh https://bigbrother.uninett.no/ https://munin.uninett.no/ NAME:Hobbit COMMENT:"Dette er en test" noinfo bbd muninserver


Regards,
Henrik
list Kolbjørn Barmen · Thu, 20 Jul 2006 23:16:36 +0200 (CEST) ·
quoted from Henrik Størner
On Thu, 20 Jul 2006, Henrik Stoerner wrote:
On Thu, Jul 20, 2006 at 04:30:09PM +0200, user-5623b4f246b3@xymon.invalid wrote:
  Error output:
  Host bigbrother.uninett.no appears twice in bb-hosts! This may cause
  strange results

page uninett-bb Overv&aring;kning
group-only bbgen|bbtest|hobbitd|muninserver <b>Overv&aring;kning</b>
0.0.0.0   bigbrother.uninett.no       # NAME:Hobbit COMMENT:"Dette er en test" noconn noinfo bbd muninserver

page uninett-viktig Viktige UNINETT-maskiner
group-except bbd|bbgen|bbtest|hobbitd|muninserver <b>Viktige maskiner</b>
158.38.130.84   bigbrother.uninett.no # prefer ssh https://bigbrother.uninett.no/ https://munin.uninett.no/
Put ALL of your definitions on one host, the second one should ONLY be a
placeholder. Like:

page uninett-bb Overv&aring;kning
group-only bbgen|bbtest|hobbitd|muninserver <b>Overv&aring;kning</b>
0.0.0.0   bigbrother.uninett.no       # noconn

page uninett-viktig Viktige UNINETT-maskiner
group-except bbd|bbgen|bbtest|hobbitd|muninserver <b>Viktige maskiner</b>
158.38.130.84   bigbrother.uninett.no # prefer ssh NAME:Hobbit COMMENT:"Dette er en test" noinfo bbd muninserver
Except that this is not what I aimed for in the first place, since it's
then called "Hobbit" on both pages. Ah well... no big deal.

Thanks for quick replies :)

-- 
Kolbjørn Barmen
UNINETT Driftsenter