[hobbit] Can't override DISK defaults

Hubbard, Greg L greg.hubbard at eds.com
Tue Dec 16 19:29:40 CET 2008


Ben,

I think ORDER is important -- your DEFAULTS section should go at the
very end of the file.  I think I read on this list that Hobbit quits on
the first match, which is why the DEFAULTS must be at the end of the
file.

GLH 

-----Original Message-----
From: Ben Yarwood [mailto:ben.yarwood at juno.co.uk] 
Sent: Tuesday, December 16, 2008 12:16 PM
To: hobbit at hswn.dk
Subject: [hobbit] Can't override DISK defaults

Hi

I'm new to the list but have been using hobbit for around 4 years.

I'm having a problem overriding the default DISK settings in
hobbit-clients.cfg, no matter what I seem to add in to the file either
specifying the host name directly or using a regular expression.

All other changes to the hobbit-clients.cfg file are picked up
immediately.
Extract from the file is below.  We have upgraded to 4.2.2 today to see
if that would solve the problem but unfortunately not.  I've also tried
running the bbcmd (output also below) and it always reports the defaults
for disk.
(Prior to 4.2.2 being installed this produced a seg fault for the disk
test).

Hope someone can help.
Thanks in advance
Ben

[hobbit at jrmanage server]$ bin/bbcmd hobbitd_client --test
2008-12-16 18:11:43 Using default environment file
/home/hobbit/server/etc/hobbitserver.cfg
Hostname (.=end, ?=dump, !=reload) [jrmedi-a]: jrmedia-a Hosttype []: 
Test (cpu, mem, disk, proc, log, port): disk
Filesystem: 
Yellow at 80%, red at 90%


hobbit-clients.cfg 

.....

DEFAULT
        # These are the built-in defaults.
        UP      1h
        LOAD    5.0 10.0
        DISK    * 80 90
        MEMPHYS 100 101
        MEMSWAP 50 80
        MEMACT  90 97


.....

HOST=%jrmedia-.*
        UP      30m
        LOAD    10.0 15.0
        DISK    * 95 97
        MEMPHYS 100 101
        MEMSWAP 50 80
        MEMACT  90 97




To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk





More information about the Xymon mailing list