Hi Paul, On Thursday 20 May 2010 11:46:42 Paul Slootman wrote: > I didn't try ssh_disk_4.
this works here out of the box. > > Could you please try the following: > > > > command_line /usr/lib/nagios/plugins/check_by_ssh -H '$HOSTADDRESS$' > > -C '/usr/lib/nagios/plugins/check_disk -w '\''$ARG1$'\'' -c > > '\''$ARG2$'\'' -e -p '\''$ARG3$'\' > > I think it's still missing things: after the $ARG3$ (-p option) I'd > expect '\''' or similar; the quotes before the $ARG3 need to be matched, > as well as the quote enclosing the entire -C string. > As I said, wierd quoting and funky escaping :-) ssh_disk works with the following: command_line /usr/lib/nagios/plugins/check_by_ssh -H '$HOSTADDRESS$' -C '/usr/lib/nagios/plugins/check_disk -w '\''$ARG1$'\'' -c '\''$ARG2$'\'' -e -p '\''$ARG3$'\' With kind regards, Jan. -- Never write mail to <w...@spamfalle.info>, you have been warned! -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GIT d-- s+: a C+++ UL++++ P+ L+++ E--- W+++ N+++ o++ K++ w--- O M V- PS PE Y++ PGP++ t-- 5 X R tv- b+ DI D+ G++ e++ h---- r+++ y++++ ------END GEEK CODE BLOCK------
signature.asc
Description: This is a digitally signed message part.