Changing the alert disk setting
Etienne Roulland
Etienne.Roulland at cvf.fr
Fri Dec 9 11:28:16 CET 2005
Hi,
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
output of the command gives :
df -Pl -x none -x tmpfs -x shmfs -x unknown | sed -e
'/^[^ ][^ ]*$/{
> N
> s/[ ]*\n[ ]*/ /
> }'
Sys. de fich. 1024-blocs Occupé Disponible Capacité Monté sur
/dev/sda1 1921020 573272 1250164 32% /
/dev/sda3 4031680 1648928 2177952 44% /usr
/dev/sda4 28939400 3752944 25186456 13% /opt
/dev/sdb1 1470656664 1206425916 264230748 83% /baie1
/dev/sdc1 1470649576 1329252012 141397564 91% /baie2
/dev/sdd1 1953455832 404995500 1548460332 21% /baie3
/dev/sde1 1953532632 178712980 1774819652 10% /baie4
But i get :
/baie2 (91 %) has reached the WARNING level (90 %)
Did i missed something ?
Regards,
--
Etienne Roulland --- CVF Bordeaux
More information about the Xymon
mailing list