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