check_by_ssh to Openvms system

Mr Allan Thorne allan.thorne at monash.edu
Wed Jun 12 06:08:12 CEST 2013


I am trying to use either command files or perl or c to return a status 
and value to check_by_ssh. When I test the command interactively
using:

/usr/lib64/nagios/plugins/check_by_ssh -H <host> -s c1 -C "<cmd>"  -i 
<keyfile> -l <user>  -S 1 -E
I get

WARNING - check_by_ssh: Remote command <cmd> returned status 1

Any help would be appreciated.

Allan Thorne
eSolutions
Monash University

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
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