Double ssh
Kaare Rasmussen
kar at kakidata.dk
Mon Jan 24 16:14:42 CET 2005
Hi
I wonder if what I try to do is not kosher. I try to check a disk in server B
that I can only see through server A. If run on the command line as the
nagios user, I get a disk size as expected. If run thwough Nagios I get:
Could not open pipe: /usr/bin/ssh <server A>
'/home/nagios/plugins/check_by_ssh -H <server B> -C
"/home/nagios/plugins/check_disk -w 20% -c 10% -p <device>"'
ssh, check_by_ssh and check_disk are placed in the correct directories (of
course, how would I get the correct result when running it manually
otherwise...)
--
Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582
Kaki Data tshirts, merchandize Fax: 3816 2501
Nordre Fasanvej 12 Åben 12.00-18.00 Email: kar at kakidata.dk
2000 Frederiksberg Lørdag 12.00-16.00 Web: www.suse.dk
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
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