msgs : always green instead of configuring for errors
fi, i am using xymon 4.2.2. I want that each client should show msgs red if lockup word comes in /var/log/messages. I have configured following in following files on xymon server : ~xymon/server/etc/client-local.cfg -> [linux] log:/var/log/messages:10240 ignore MARK trigger lockup
~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
i get lockup messages in msgs; but color is still green. How to change the color?
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
participants (2)
-
akshar.bhosale@gmail.com
-
henrik@hswn.dk