<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 18 November 2015 at 04:41, John Thurston <span dir="ltr"><<a href="mailto:john.thurston@alaska.gov" target="_blank">john.thurston@alaska.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I could go for inclusion on the host's "info" page, but would really dislike it being treated like a "ghost". Having the xymond test column flapping yellow because some unauthorized workstation (a ghost) is sending me messages is bad enough. Having it bounce yellow because a host is sending messages I have specifically excluded would be awful.</blockquote><div><br></div><div>Fair enough.  As long as there's some place for a confused sysadmin to look for reasons why status messages are not showing up.  Could be in a log file.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am certainly not _opposed_ to a "!" syntax.  For my business need, "acceptonly" with an inclusion list is perfectly adequate. My need is to prevent noise. If I blackball specific tests, the noise can just be moved to a test with a new name. Yes, in some cases it could make the acceptonly tag a little long-winded. But if I can use it on the .default. line, I won't have to type it very often.</blockquote><div><br></div><div>In another discussion, mention was made to the NOPROPRED tag, which has a useful format that would seem to work well for this also, and obviously the parsing code already exists.  Examples to demonstrate:</div><div><br></div><div>0.0.0.0 .default. # ACCEPTONLY:-memory</div><div>192.168.0.1 <a href="http://host1.example.com">host1.example.com</a> # ACCEPTONLY:+memory,-disk</div><div>192.168.0.2 <a href="http://host2.example.com">host2.example.com</a> # ACCEPTONLY:cpu,disk,memory</div><div>0.0.0.0 .default. # ACCEPTONLY:*</div><div>192.168.0.3 <a href="http://host3.example.com">host3.example.com</a> # ACCEPTONLY:-disk</div><div><br></div><div>Now, a question.  Should this matching apply to:</div><div>* only messages from the IP address from hosts.cfg?</div><div>* to any message not from the Xymon server?</div><div>* to any message including from the Xymon server, eg if I exclude "conn" messages, should they be dropped?</div><div><br></div><div>J</div><div><br></div><div><br></div></div></div></div>