Hi, I want to execute check_procs via check_by_ssh with the following command:
./check_by_ssh -H 172.24.1.70 -t 120 -C "/usr/local/bin/check_procs -C zeiterf -c 1:1 -a './zeiterf -z'" The result is the following error: Remote command execution failed: /usr/local/bin/check_procs: option requires an argument -- z The problem is the parameter "-z" because after removing it, I get the expected result. ./check_by_ssh -H 172.24.1.70 -t 120 -C "/usr/local/bin/check_procs -C zeiterf -c 1:1 -a './zeiterf'" PROCS CRITICAL: 2 processes with command name 'zeiterf', args './zeiterf' Does anyone know how to included the parameter correctly? Thanks for your help, Stefan ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ 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