<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Georgia;
panose-1:2 4 5 2 5 4 5 2 3 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:595.3pt 841.9pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-AU link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I have been using the check_by_ssh command on some linux
servers and was attempting to use it on a Solaris server. But I get:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-indent:36.0pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Remote command execution failed:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Below is the output from the command line:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>-sh-3.00$ ./check_by_ssh -v -H <remote-server-name>
-C "/usr/local/nagios/libexec/check_swap -w 20% -c 10%"<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>/usr/bin/ssh <remote-server-name>
'/usr/local/nagios/libexec/check_swap -w 20% -c 10%'<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Remote command execution failed:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Georgia><span style='font-size:10.0pt;
font-family:Georgia'>Below is the output from ssh:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Georgia><span style='font-size:10.0pt;
font-family:Georgia'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Georgia><span
style='font-size:10.0pt;font-family:Georgia'>-sh-3.00$ /usr/bin/ssh <remote-server-name>
'/usr/local/nagios/libexec/check_swap -w 20% -c 10%'<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Georgia><span
style='font-size:10.0pt;font-family:Georgia'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Georgia><span
style='font-size:10.0pt;font-family:Georgia'>|-----------------------------------------------------------------
|<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Georgia><span
style='font-size:10.0pt;font-family:Georgia'>| This system is for the use of
authorized users only. |<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Georgia><span
style='font-size:10.0pt;font-family:Georgia'>| Individuals using this computer
system without authority, or in |<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Georgia><span
style='font-size:10.0pt;font-family:Georgia'>| excess of their authority, are
subject to having all of their |<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Georgia><span
style='font-size:10.0pt;font-family:Georgia'>| activities on this system
monitored and recorded by system |<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Georgia><span
style='font-size:10.0pt;font-family:Georgia'>|
personnel. |<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Georgia><span
style='font-size:10.0pt;font-family:Georgia'>| |<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Georgia><span
style='font-size:10.0pt;font-family:Georgia'>| In the course of monitoring
individuals improperly using this |<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Georgia><span
style='font-size:10.0pt;font-family:Georgia'>| system, or in the course of
system maintenance, the activities |<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Georgia><span
style='font-size:10.0pt;font-family:Georgia'>| of authorized users may also be
monitored. |<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Georgia><span
style='font-size:10.0pt;font-family:Georgia'>| |<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Georgia><span
style='font-size:10.0pt;font-family:Georgia'>| Anyone using this system
expressly consents to such monitoring |<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Georgia><span
style='font-size:10.0pt;font-family:Georgia'>| and is advised that if such
monitoring reveals possible |<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Georgia><span
style='font-size:10.0pt;font-family:Georgia'>| evidence of criminal activity,
system personnel may provide the |<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Georgia><span
style='font-size:10.0pt;font-family:Georgia'>| evidence of such monitoring to
law enforcement officials. |<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Georgia><span
style='font-size:10.0pt;font-family:Georgia'>|-----------------------------------------------------------------
|<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Georgia><span
style='font-size:10.0pt;font-family:Georgia'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Georgia><span
style='font-size:10.0pt;font-family:Georgia'>SWAP OK - 100% free (16371 MB out
of 16386 MB) |swap=16371MB;3277;1638;0;16386<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Georgia><span style='font-size:10.0pt;
font-family:Georgia'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Georgia><span style='font-size:10.0pt;
font-family:Georgia'>Is it the banner? The banner does not come up on the linux
servers.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Georgia><span style='font-size:10.0pt;
font-family:Georgia'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Georgia><span style='font-size:10.0pt;
font-family:Georgia'>Nagios server plugins version:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Georgia><span style='font-size:10.0pt;
font-family:Georgia'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Georgia><span style='font-size:10.0pt;
font-family:Georgia'> -sh-3.00$ ./check_by_ssh -V<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-indent:36.0pt'><font size=2 face=Georgia><span
style='font-size:10.0pt;font-family:Georgia'>check_by_ssh (nagios-plugins
1.4.8) 1.41<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Georgia><span style='font-size:10.0pt;
font-family:Georgia'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Georgia><span style='font-size:10.0pt;
font-family:Georgia'>Remote server plugins version:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Georgia><span style='font-size:10.0pt;
font-family:Georgia'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Georgia><span
style='font-size:10.0pt;font-family:Georgia'>bash-2.05$ check_by_ssh -V<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Georgia><span
style='font-size:10.0pt;font-family:Georgia'>check_by_ssh (nagios-plugins
1.4.9) 1.43<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Georgia><span style='font-size:10.0pt;
font-family:Georgia'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Georgia><span style='font-size:10.0pt;
font-family:Georgia'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Georgia><span style='font-size:10.0pt;
font-family:Georgia'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Georgia><span style='font-size:10.0pt;
font-family:Georgia'>Nicholas Magers</span></font><o:p></o:p></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
<font size="1"><p><font size="2">***************************************************************<br /></font><font size="2">This message is intended for the addressee named and </font><font size="2">may contain confidential information. If you are not the </font><font size="2">intended recipient, please delete it and notify the sender. </font></p><p><font size="2">Views expressed in this message are those of the </font><font size="2">individual sender, and are not necessarily the views of </font><font size="2">the Department of Lands.</font></p><p><font size="2">This email message has been swept by MIMEsweeper </font><font size="2">for the presence of computer viruses.<br /></font><font size="2">***************************************************************</font></p></font>
</body>
</html>