I believe the problem is caused by the 'fix' to bug 709297.
The package maintainer has tried to introduce the ability to pass parameters
to Nagios checks by changing them from:

command_line    /usr/lib/nagios/plugins/check_ssh '$HOSTADDRESS$'

to:

command_line    /usr/lib/nagios/plugins/check_ssh '$HOSTADDRESS$' '$ARG1$'

If no extra arguments are passed, it forces an empty parameter to be passed
to the command which causes a problem.

I suspect the fix it not to wrap the $ARG1$ within quotes like so:

command_line    /usr/lib/nagios/plugins/check_ssh '$HOSTADDRESS$' $ARG1$

This means the parameters passed by the user can still be done, but if nothing 
was
passed, does not result in an empty positional parameter being passed to the 
command.

Regards,

Jim Barber


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to