<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>