Xymon Mailing List Archive search

It it possible to have a test that doesn't propagate status to the xymon page?

list John Thurston
Thu, 19 Nov 2015 12:12:38 -0900
Message-Id: <user-6ebcf6dd093b@xymon.invalid>

On 11/19/2015 11:52 AM, Ribeiro, Glauber wrote:
This is 4.3.10 compiled by myself, on Linux. I would rather use the .default. than the command line for xymongen.
I forget if I used 4.3.10, but I'm pretty sure that was before my time. I was still using Big Brother :)
What's the syntax for default? I don't see it in the documentation I had:
If .default. isn't in the man page for hosts.cfg, maybe it didn't exist in 4.3.10
0.0.0.0 .default. # nopropred:tls nopropyellow:tls
That looks fine. That will replace the nopropred and nopropyellow values with "tls". If you wanted to append "tls" to the end of the existing nopropred, it would be
     # nopropred:+tls

 From my man page:
NOPROPRED:[+|-]testname[,[+|-]testname]
    This tag is used to inhibit a yellow or red status from propagating upwards - i.e. from a test status color to the (sub)page status color, and further on to xymon.html or nongreen.html

    If a host-specific tag begins with a '-' or a '+', the host-specific tags are removed/added to the default setting from the command-line option. If the host-specific tag does not begin with a '+' or a '-', the default setting is ignored for this host and the NOPROPRED applies to the tests given with this tag.

    E.g.: xymongen runs with "--nopropred=ftp,smtp". "NOPROPRED:+dns,-smtp" gives a NOPROPRED setting of "ftp,dns" (dns is added to the default, smtp is removed). "NOPROPRED:dns" gives a setting of "dns" only (the default is ignored).
Does the nopropred work if you append it to a specific host line?

-- 
    Do things because you should, not just because you can.

John Thurston    XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Enterprise Technology Services
Department of Administration
State of Alaska