[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nagios-users
Subject:    [Nagios-users] check_by_ssh to Openvms system
From:       Mr Allan Thorne <allan.thorne () monash ! edu>
Date:       2013-06-12 4:08:12
Message-ID: 51B7F42C.8050500 () its ! monash ! edu ! au
[Download RAW message or body]

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@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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic