Xymon Mailing List Archive search

FDQN question (using hobbit-4.2-alfa-20060404)

5 messages in this thread

list Dominique Frise · Thu, 06 Apr 2006 12:05:13 +0200 ·
Hi,

As we do monitor only one domain with Hobbit, we set FQDN to false in 
hobbitserver.cfg.

While testing rules in hobbit-clients.cfg with hobbitd_client we noticed that 
HOST entries must be fully qualified to be recognised:

HOST=argos,eliot
	LOAD	8.0 16.0
	LOG	messages quota_ufs
HOST=argos.unil.ch,eliot.unil.ch
	LOAD	8.0 16.0
	LOG     messages quota_ufs


[bb at iris etc]$ ../bin/hobbitd_client --test
Hostname (.=end, ?=dump, !=reload) []: argos
Unknown host
Hostname (.=end, ?=dump, !=reload) [argos]: argos.unil.ch
Test (cpu, mem, disk, proc): cpu
Load: Yellow at 8.00, red at 16.00
Uptime: From boot until 1h ,and after  uptime


Is that normal behaviour?


Dominique
UNIL - University of Lausanne
list Dominique Frise · Thu, 06 Apr 2006 12:20:55 +0200 ·
quoted from Dominique Frise
Dominique Frise wrote:
Hi,

As we do monitor only one domain with Hobbit, we set FQDN to false in hobbitserver.cfg.

While testing rules in hobbit-clients.cfg with hobbitd_client we noticed that HOST entries must be fully qualified to be recognised:

HOST=argos,eliot
    LOAD    8.0 16.0
    LOG    messages quota_ufs
HOST=argos.unil.ch,eliot.unil.ch
    LOAD    8.0 16.0
    LOG     messages quota_ufs


[bb at iris etc]$ ../bin/hobbitd_client --test
Hostname (.=end, ?=dump, !=reload) []: argos
Unknown host
Hostname (.=end, ?=dump, !=reload) [argos]: argos.unil.ch
Test (cpu, mem, disk, proc): cpu
Load: Yellow at 8.00, red at 16.00
Uptime: From boot until 1h ,and after  uptime


Is that normal behaviour?


Dominique
UNIL - University of Lausanne

Stupid me!
my BBHOSTS variable was pointing to the wrong bb-hosts file with fully qualified names :-(

Sorry!

Dominique
UNIL - University of Lausanne
list Thomas Seglard · Thu, 6 Apr 2006 15:45:41 +0200 ·
Hello,

I would like to know if we can change the sentence "Current status" at the 
top of a page and replace it by the page's name ? Instead of "Current 
status" I would like to see "Production" or "Current status for 
Production". Is it possible ?
Sincerly,

Thomas

Ce message (et toutes ses pieces jointes eventuelles) est confidentiel et etabli a l'intention exclusive de ses destinataires.
Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est
interdite, sauf autorisation expresse.
L'internet ne permettant pas d'assurer l'integrite de ce message, CNP Assurances et ses filiales declinent toute responsabilite
au titre de ce message, s'il a ete altere, deforme ou falsifie.

*****

This message and any attachments (the "message") are confidential and intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.
E-mails are susceptible to alteration.
Neither CNP Assurances nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified.
list Henrik Størner · Thu, 6 Apr 2006 15:53:19 +0200 ·
quoted from Thomas Seglard
On Thu, Apr 06, 2006 at 03:45:41PM +0200, user-bb3e9041f07f@xymon.invalid wrote:
I would like to know if we can change the sentence "Current status" at the top of a page and replace it by the page's name ? Instead of "Current status" I would like to see "Production" or "Current status for Production". Is it possible ?
Edit the ~hobbit/server/web/bb_header file.

There are some pseudo-tags in that file, e.g. &BBBACKGROUND will be
replaced by the page background color ("green", "red" ...). There isn't
a tag for "page name" - the closest you can get is "page path" in
&BBPAGEPATH (it is used to set a cookie in that very file).


Henrik
list Thomas Seglard · Thu, 6 Apr 2006 19:38:57 +0200 ·
Ok,

that's just what I need !
Thanks

Thomas

user-ce4a2c883f75@xymon.invalid (Henrik Stoerner) a écrit sur 06/04/2006 15:53:19 :
quoted from Thomas Seglard
On Thu, Apr 06, 2006 at 03:45:41PM +0200, user-bb3e9041f07f@xymon.invalid 
wrote:
I would like to know if we can change the sentence "Current status" at the > top of a page and replace it by the page's name ? Instead of "Current > > status" I would like to see "Production" or "Current status for > Production". Is it possible ?
Edit the ~hobbit/server/web/bb_header file.

There are some pseudo-tags in that file, e.g. &BBBACKGROUND will be
replaced by the page background color ("green", "red" ...). There isn't
a tag for "page name" - the closest you can get is "page path" in
&BBPAGEPATH (it is used to set a cookie in that very file).


Henrik

Ce message (et toutes ses pieces jointes eventuelles) est confidentiel et etabli a l'intention exclusive de ses destinataires.
Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est
interdite, sauf autorisation expresse.
L'internet ne permettant pas d'assurer l'integrite de ce message, CNP Assurances et ses filiales declinent toute responsabilite
au titre de ce message, s'il a ete altere, deforme ou falsifie.

*****

This message and any attachments (the "message") are confidential and intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.
E-mails are susceptible to alteration.
Neither CNP Assurances nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified.