On Fri, Dec 09, 2005 at 11:28:16AM +0100, Etienne Roulland wrote:
i'm trying to change disk alerting for one host.
(using 4.1.2 on the server , 4.1.2p1 deb client on the client).
in my hobbit-clients.cfg
DEFAULT
UP 1h
LOAD 5.0 10.0
DISK * 90 95
SWAP 20 40
MEMPHYS 100 101
MEMSWAP 50 80
MEMACT 90 97
and
HOST=%arkeia.*
DISK %.*baie.* 98 100
Make sure you put DEFAULT section at the BOTTOM of the file.
If that doesn't help, run "bbcmd hobbitd_client --test" and do this:
henrik at osiris:~$ bbcmd hobbitd_client --test
2005-12-09 11:32:27 Using default environment file /usr/lib/hobbit/server/etc/hobbitserver.cfg
Hostname (.=end, ?=dump, !=reload) []: arkeia
Test (cpu, mem, disk, proc): disk
Filesystem: /baie1
Yellow at 90%, red at 95%
Hostname (.=end, ?=dump, !=reload) [arkeia]: ?
UP 3600 -1 (line: 156)
LOAD 5.00 10.00 (line: 157)
DISK * 90% 95% 0 -1 red (line: 158)
MEMSWAP 20 40 (line: 159)
MEMREAL 100 101 (line: 160)
MEMSWAP 50 80 (line: 161)
MEMACT 90 97 (line: 162)
Henrik