[Xymon] problem with LOG and IGNORE in analysis.cfg
Lee, Raymond
Raymond.Lee at CenturyLink.com
Fri Aug 12 19:24:48 CEST 2011
Hi,
I have a server running Xymon 4.3.4 with a pretty basic analysis.cfg:
DEFAULT
# These are the built-in defaults.
UP 1h
LOAD 5.0 10.0
DISK * 90 95
MEMPHYS 100 101
MEMSWAP 50 80
MEMACT 90 97
LOG /var/adm/messages %ERROR|WARNING COLOR=red IGNORE=TEST
However, the IGNORE doesn't seem to work for the LOG line:
(xymon)@xymon:~$ /home/xymon/server/bin/xymond_client --test
Hostname (.=end, ?=dump, !=reload) []: hostname.domain.com
Hosttype []: sunos
Test (cpu, mem, disk, proc, log, port): log
log filename: /var/adm/messages
To read log data from a file, enter '@FILENAME' at the prompt
log line: ERROR this is just a TEST
log line:
Log status is red
&red ERROR this is just a TEST
What's funnier is that the log lines that should trigger a red alert are turning out to be green:
(xymon)@xymon:~$ /home/xymon/server/bin/xymond_client --test
Hostname (.=end, ?=dump, !=reload) []: hostname.domain.com
Hosttype []: sunos
Test (cpu, mem, disk, proc, log, port): log
log filename: /var/adm/messages
To read log data from a file, enter '@FILENAME' at the prompt
log line: this ERROR should be red
log line:
Log status is green
Am I not using the LOG and IGNORE correctly in analysis.cfg, or is this a bug?
Thanks,
Ray
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.
More information about the Xymon
mailing list