Have network tests report yellow instead of red?
list John Thurston
I must be blind, but I am unable to find a way to have a xymonnet test result go yellow instead of red.
If I have the following line in my hosts.cfg:
0.0.0.0 foo.bar.com # telnet
I'd like the telnet test to report yellow instead of red when the port test is not responding. I see I can prefix it with "?" to have it return clear instead of red, but how can I make it return yellow instead of red?
--
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
list Henrik Størner
▸
Den 2014-03-25 18:19, John Thurston skrev:
I must be blind, but I am unable to find a way to have a xymonnet test result go yellow instead of red. If I have the following line in my hosts.cfg: 0.0.0.0 foo.bar.com # telnet I'd like the telnet test to report yellow instead of red when the port test is not responding. I see I can prefix it with "?" to have it return clear instead of red, but how can I make it return yellow instead of red?
Not possible, sorry. You can use 'delayred' to give it some time to recover without triggering an alert. Regards, Henrik
list Laurent Royer
Hello, What a pitty. Some host like webapps are important but not so much in the IT organisation. So when they go red and propage as red, it's too much comparing the importance of other hosts in the group... Regards, Laurent Royer?
list Jeremy Laidman
You can do a few things to work around this: 1) use"delayred" to keep the column from going red immediately (see man hosts.cfg) 2) use DOWNTIME to define 24x7 that the service is down, so it goes blue instead of red or yellow On 11 January 2015 at 14:05, Laurent ROYER <user-15b052bbd14c@xymon.invalid>
▸
wrote:
Hello, What a pitty. Some host like webapps are important but not so much in the IT organisation. So when they go red and propage as red, it's too much comparing the importance of other hosts in the group... Regards, Laurent Royer
list Mark Felder
▸
On Sat, Jan 10, 2015, at 21:05, Laurent ROYER wrote:
Hello, What a pitty. Some host like webapps are important but not so much in the IT organisation. So when they go red and propage as red, it's too much comparing the importance of other hosts in the group...
Also, if you want to hide them from the "nongreen" view you can add the following to XYMONGENOPTS in xymonserver.cfg: --nongreen-ignore-columns="column"