[Xymon] PROC test
Roland Soderstrom
Rolands at logicaltech.com.au
Thu Dec 22 12:08:55 CET 2011
Hi
Thanks Henrik, These DEFAULT lines has been there forever....
I don't even know what is the default.
I guess I could compile and install a new instance to find out.
Maybe an easy way would be to add the ORIGINAL DEFAULTs as comments as well.
I had a lot of stuff inherited from BB, so it sometimes hard to know what is default....
- Roland
________________________________________
From: xymon-bounces at xymon.com [xymon-bounces at xymon.com] on behalf of Henrik Størner [henrik at hswn.dk]
Sent: Thursday, 22 December 2011 7:35 PM
To: xymon at xymon.com
Subject: Re: [Xymon] PROC test
On 22-12-2011 03:47, Roland Soderstrom wrote:
> I got this in my analysis.cfg
[snip]
> DEFAULT
> # These are added defaults
> # These are the built-in defaults.
> UP 1h
> LOAD 30.0 40.0
> MEMPHYS 100 101
> MEMSWAP 70 80
> MEMACT 90 97
> LOG /var/adm/messages "%WARNING|ERROR" COLOR=red
> #LOG /var/adm/messages "%NOTICE" COLOR=yellow
> PROC sendmail
> PROC inetd
> PROC cron
> CLOCK 10
>
> But the PROC test is still white for host01 saying PROC is not defined.
Do NOT put extra stuff into the DEFAULT section. The first hit I get in
the Xymon mailing list archive when searching for "proc default" is this
one back from 2006:
http://lists.xymon.com/archive/2006-November/010383.html
which describes the exact same problem.
So today I've added this text to the analysis.cfg comments, hopefully
that will make all of you use the DEFAULT section the way it was intended.
# The special DEFAULT section can modify the built-in defaults - this must
# be placed at the end of the file. It should ONLY be used to modify the
# default thresholds, do NOT put PROC, LOG, DISK or any other lines here
# (they will most likely be ignored). If you have something that must apply
# to all hosts, add a new section with "HOSTS=*"
Regards,
Henrik
_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon
More information about the Xymon
mailing list