Xymon Mailing List Archive search

What happens to errors in analysis.cfg?

2 messages in this thread

list David Mills · Mon, 17 Mar 2014 21:48:43 +0000 ·
All --

Hi!

Are syntax errors in analysis.cfg logged someplace or are they silently ignored?

Thx!

david

~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~
David Mills
Systems Administrator
Northrop Grumman
(XXX) XXX-XXXX
list Jeremy Laidman · Tue, 18 Mar 2014 13:44:20 +1100 ·
quoted from David Mills
On 18 March 2014 08:48, Mills, David (IS) <user-eb64c112f0e9@xymon.invalid> wrote:
 Are syntax errors in analysis.cfg logged someplace or are they silently
ignored?
The analysis.cfg file is processed by xymond, so have a look in the
xymond.log file.  There are some parsing errors that are logged, such as
"Unknown token 'X' ignored at line N".  You could try adding a bogus token
and see where it logs:

Host=bogus
    BOGUS

Hmm, just tried this out, and found the message appearing in
clientdata.log, rrd-status.log and rrd-data.log.  I guess other processes
also read analysis.cfg.

J