<div dir="ltr"><div>Vernon</div><div><br></div>Is there anything interesting showing in the sshd logs on the Solaris host, especially differences between the entries for success vs failure?  Is this happening on any other similar servers?<div>

<br></div><div>The xymonnet process has a 10-second timeout for each connection, and probably gives the "unexpected service response" if it doesn't see "SSH" in that time.  You could try increasing the timeout (adding "--timeout=20" to the xymonnet CMD in tasks.cfg) and see if that helps.</div>

<div><br></div><div>I suspect you're getting a DNS reverse-lookup delay.  Many sshd processes will, by default, perform a reverse lookup of the connecting IP address, so that it can put the name into the logs.  Many stub resolvers time-out after 15 seconds, and sshd gives up and goes on without the hostname.  I see this on servers that have been misconfigured for DNS, and it takes 15 seconds to login every time, until either the DNS config is fixed up, or sshd is made to not wait for DNS.</div>

<div><br></div><div>You can speed up this reverse lookup by adding the Xymon server IP and name into /etc/hosts.  Most sshd implementations allow you to turn off the reverse lookups, either by running with the "-u0" parameter, or (more recently) by adding "UseDNS no" into sshd_config.  I do this as a matter of course on any new servers I deploy.</div>

<div><br></div><div>J</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 14 August 2013 08:58, Vernon Everett <span dir="ltr"><<a href="mailto:everett.vernon@gmail.com" target="_blank">everett.vernon@gmail.com</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><div><div>Hi all<br><br></div>From time to time I get the "Unexpected service response" on the ssh tests of a Solaris host.<br>

</div>The test goes yellow, and recovers again within seconds. 10 seconds on the last example.<br>
</div><br></div>Because of the short duration, it's really dificult to replicate. <br></div>Can anybody give me some pointers as to what's causing this?<br></div>Does xymon log the exact response somewhere?<br><br>


</div>The old Hobbit archive has a few threads with this error message, but none give me usable diagnostic information.<br><br></div><div>The error isn''t associated with any service disruption, and nobody has reported difficulty with their connections, but I would still like to get to the bottom of this, and hopefully eliminate the "problem".<br>


</div><div><br></div>Any assistance appreciated.<br><br></div>Regards<span class="HOEnZb"><font color="#888888"><br>Vernon<br><div><div><div><div><div><div><br><br clear="all"><div><div><div><div><div><br>-- <br><span>"Accept the challenges so that you can feel the exhilaration of victory"</span><div>


<span>- General George Patton</span></div>
</div></div></div></div></div></div></div></div></div></div></div></font></span></div>
<br>_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
<br></blockquote></div><br></div>