Hi,
I've written some scripts that check the health of webservers using observatory.mozilla.org. Curently, the script reads the configuration of xymon, discovers if the node serves webpage and if so check their health.
As I'm testing about a hundred nodes and as a majority of them will raise an alarm, my "all non-green view" will become all red.
I'm looking for a color, that do not pollute the "all non-green view", that are different from green and that allow us to see the output of the test within xymon.
Any idea ?
Thanks in advance.
cED
-- Cédric BRINER, Ing. EPFL & HES DiSTIC ☎: +41 (0)22/37.97183
On 12/15/2016 1:12 AM, Cédric BRINER wrote:
I'm looking for a color, that do not pollute the "all non-green view", that are different from green and that allow us to see the output of the test within xymon.
Mark your host with "nopropred" or "nonongreen" to prevent a particular test from propagating up the page heirarchy, or being included on the non-green page. Check the hosts.cfg man page for details.
"nonongreen" covers a _host_
nonongreen -- Ignore this host on the "All non-green" page. Even if it has an active alert, it will not be included in the "All non-green" page. This also removes the host from the event-log display.
"nopropred" and "nopropyellow" can be applied to specific _tests_ on each host
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
-- 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
Hi,
Thanks for the answer.
I'm a bit surprised by the response, but that's great because I learn: nonongreen & nopropred... which is good :)
Let me rephrase my question.
Which color should I use to report a test without giving a sense/alarm on it. This test neither says it's good or neither says it's bad. Could I just send a report, with some text attached to it with no other meaning.
Finally, after some works, I've put the "clear" color so that it does not interfer.
Thank you very much for your appreciated help.
cED
Cédric BRINER, Ing. EPFL & HES DiSTIC ☎: +41 (0)22/37.97183
participants (2)
-
cedric.briner@unige.ch
-
john.thurston@alaska.gov