This is just weird:

 

 

ssh -i /usr/local/nagios/etc/.ssh/id_dsa -l nagios
fully.qualified.hostname.com /usr/local/bin/nagcheck

 

produces output, run as nagios.

 

Running the check_by_ssh binary, with this command line:

 

./check_by_ssh -H fully.qualified.hostname.com  -l nagios -i
usr/local/nagios/etc/.ssh/id_dsa -C "/usr/local/bin/nagcheck"

 

results in being asked for a password.

 

Any ideas?

 

Steven S.

 

 

CONFIDENTIALITY NOTICE: Proprietary/Confidential Information belonging
to Gracenote, Inc. may be contained in this message. If you are not a
recipient indicated or intended in this message (or responsible for
delivery of this message to such person), or you think for any reason
that this message may have been addressed to you in error, you may not
use or copy or deliver this message (and all attachments) to anyone
else. In such case, you should destroy this message (and all attached
documents) and are asked to notify the sender by reply email.

 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to