[Nagiosplug-devel] [ nagiosplug-Bugs-1985246 ] ssh_disk dont interpret -C with single quotes correct

SourceForge.net noreply at sourceforge.net
Thu Jun 5 11:16:37 CEST 2008


Bugs item #1985246, was opened at 2008-06-05 11:16
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1985246&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Argument proccessing
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jan Wagner (cyco_dd)
Assigned to: Nobody/Anonymous (nobody)
Summary: ssh_disk dont interpret -C with single quotes correct

Initial Comment:
The following Bugreport we got against our debian package: 

By default, the ssh_disk configuration has the following command line...

/usr/lib/nagios/plugins/check_by_ssh -H $HOSTADDRESS$ -C
'/usr/lib/nagios/plugins/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$'

This creates the following error when trying to check a remote system...

[1179694002] SERVICE ALERT: tagboard;/dev/hda1 Free
Space;UNKNOWN;SOFT;1;Could not open pipe: /usr/bin/ssh 172.24.32.1
'/usr/lib/nagios/plugins/check_disk -w 5% -c 3% -p "/dev/hda1"'

Changing the single quotes to be double quotes in the config resolves
this problem.

You can track the bugreport via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=425312

Thanks and kind regards, Jan.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1985246&group_id=29880




More information about the Devel mailing list