[xymon] msgs : always green instead of configuring for errors

Henrik Størner henrik at hswn.dk
Mon Feb 14 07:30:37 CET 2011


In <AANLkTikfYsvxA4dTTgTVrhQCFGG-vMQOAZ8XbvJHc_57 at mail.gmail.com> akshar bhosale <akshar.bhosale at gmail.com> writes:

>i am using xymon 4.2.2. I want that each client should show msgs red if
>lockup word comes in /var/log/messages.

>~xymon/server/etc/hobbit-clients.cfg
>DEFAULT
>        # These are the built-in defaults.
>        UP      1h
>        LOAD    18.0 20.0
>        DISK    * 90 95
>        MEMPHYS 100 101
>        MEMSWAP 50 80
>        MEMACT  90 97
>        PROC cron
>        PROC /opt/PBS/bin/myscript.sh
>        LOG /var/log/messages lockup COLOR=red

You should Never, Ever, put PROC and LOG settings in the
DEFAULT section.

Move them into a "HOST=*" section, before the DEFAULT one.


Regards,
Henrik




More information about the Xymon mailing list