On 11/18/2015 2:00 PM, Ribeiro, Glauber wrote:
I have a test that routinely turns red, and I would like to keep that, but without making the whole xymon page go red. Is this possible?
You can prevent the test result from propagating upward in the page hierarchy. See the "nopropyellow" "nopropred" tags To prevent the test result from appearing on the non-green page, use the "nonongreen" tag.
On 11/18/2015 5:44 PM, Ribeiro, Glauber wrote:
I wasn't able to make this work using .default. in hosts.cfg, but it worked as expected when I added it to the command line for xymongen.
Something is fishy. With 4.3.17+ on Solaris it certainly is able to work on the .default. line. I use it all the time.
nopropred:+msgs will add the "msgs" test to the list of tests not to propagate. Putting it on a hostline will limit its effect to just that host. Putting it on a .default. line will leave it in effect until the next .default. line. My configuration uses a new .default. at the top of each display group, so I know it works reliably.
If it isn't working for you on .default., I suggest confirming: the syntax of the tag that there isn't another .default. line later
-- Do things because you should, not just because you can.
John Thurston 907-465-8591 John.Thurston at alaska.gov Enterprise Technology Services Department of Administration State of Alaska