<div dir="ltr"><div><div><div><div>PS Now I either have all red or all purple status for redundant tests. I've tried the<br></div>known trick to get rid of a test column but it's hasn't worked. Instead I'm getting<br></div>xymond multi-source status errors for hosts primary IP and 127.0.0.1. I'd have<br></div><div>manually removed the expired tests but I haven't been able to find the directory<br></div><div>where they're stored.<br></div><div><br></div>I finally had to add tests for ssh, ssh1, and ssh2 just so the xymon webpage<br></div>didn't look like the Apocalypse had arrived.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 23, 2016 at 9:20 AM, Walter Rutherford <span dir="ltr"><<a href="mailto:wlrutherford@alaska.edu" target="_blank">wlrutherford@alaska.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div>Hello,<br><br></div>I'm trying to setup a test to check that my systems are running ssh2 but NOT ssh1.<br></div>Ideally I just want a single column, ssh, that reports ssh2 and only ssh2 is running.<br>I thought I'd have to use a combo test but all of the examples I see appear to be for<br></div>a specific system rather than a column test for all of my monitored systems.<br><br></div>I was trying things like:<br></div><div>    (!ssh1 && ssh2)<br></div><div>or<b><br>   </b>sshtest = (( ssh1 != 1) && (ssh2 == 1))<br></div><br></div>But all I got for my trouble was red ssh1 indicators. Apparently even when ssh1 is<br>disabled ssh returns a status line like:<br>     Protocol major versions differ: 1 vs. 2<br> <br>which xymon reads as a positive result rather than a negative. I then tried matching<br></div><div>the status message by modifying the test in protocols.cfg but, since I have to also<br>match positive results, that didn't work either.<br><br></div><div>I'm sure I used to do this with Big Brother but at that time I'm pretty sure ssh1 just<br></div><div>failed instead of returning a status so I could test for !ssh1.<br><br></div><div>  Walter R.<br><br></div></div>
</blockquote></div><br></div>