hobbit-clients.cfg - Handling FILE rules
Allan Spencer
allan at zandahar.net
Tue Feb 5 06:27:05 CET 2008
Heya,
Just been playing around with doing some FILE monitoring and having
issues with its processing order or its ignoring a host I want a
different setting for. Originally I defined the FILE checks in the
default section with the host1.acme.com above it but it wasn't working
so I tried setting a HOST=* one and putting it under there but I still
get the same thing. I have used it in the past for defining different
proc checks for hosts, different loads, and different disk usage on
partitions but never for FILE before.
Basically want host1.acme.com to either not care about files at all or
make them 755 and all other hosts to be 644 for gcc and make (non exec)
Can someone point me in the direction of what I might be doing wrong as
I THINK what I'm doing is right.
Below is the config that I'm currently using. I am able to define other
checks under host1.acme.com and they work fine.
HOST=host1.acme.com
FILE /usr/bin/make MODE=755
FILE /usr/bin/gcc MODE=755
HOST=*
PROC ntpd
PROC cron
FILE /usr/bin/make MODE=644
FILE /usr/bin/gcc MODE=644
DEFAULT
# These are the built-in defaults.
UP 15m
CLOCK 60
LOAD 5.0 10.0
DISK * 90 95
MEMPHYS 100 101
MEMSWAP 65 80
MEMACT 90 97
Allan
More information about the Xymon
mailing list