Plugin check_by_ssh: On a particular server using check_by_ssh I get 'Remote command execution failed:'
Nicholas Magers
Nicholas.Magers at lands.nsw.gov.au
Tue Aug 7 05:01:36 CEST 2007
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:
Remote command execution failed:
Below is the output from the command line:
-sh-3.00$ ./check_by_ssh -v -H <remote-server-name> -C
"/usr/local/nagios/libexec/check_swap -w 20% -c 10%"
/usr/bin/ssh <remote-server-name> '/usr/local/nagios/libexec/check_swap
-w 20% -c 10%'
Remote command execution failed:
Below is the output from ssh:
-sh-3.00$ /usr/bin/ssh <remote-server-name>
'/usr/local/nagios/libexec/check_swap -w 20% -c 10%'
|-----------------------------------------------------------------
|
| This system is for the use of authorized users only.
|
| Individuals using this computer system without authority, or in
|
| excess of their authority, are subject to having all of their
|
| activities on this system monitored and recorded by system
|
| personnel.
|
|
|
| In the course of monitoring individuals improperly using this
|
| system, or in the course of system maintenance, the activities
|
| of authorized users may also be monitored.
|
|
|
| Anyone using this system expressly consents to such monitoring
|
| and is advised that if such monitoring reveals possible
|
| evidence of criminal activity, system personnel may provide the
|
| evidence of such monitoring to law enforcement officials.
|
|-----------------------------------------------------------------
|
SWAP OK - 100% free (16371 MB out of 16386 MB)
|swap=16371MB;3277;1638;0;16386
Is it the banner? The banner does not come up on the linux servers.
Nagios server plugins version:
-sh-3.00$ ./check_by_ssh -V
check_by_ssh (nagios-plugins 1.4.8) 1.41
Remote server plugins version:
bash-2.05$ check_by_ssh -V
check_by_ssh (nagios-plugins 1.4.9) 1.43
Nicholas Magers
***************************************************************
This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient, please delete it and notify the sender.
Views expressed in this message are those of the individual sender, and are not necessarily the views of the Department of Lands.
This email message has been swept by MIMEsweeper for the presence of computer viruses.
***************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070807/33cf3e65/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list