[Pkg-nagios-devel] Bug#425312: nagios-plugins-basic: ssh_disk config fails to be interpreted properly

Kyle Gordon kyle at lodge.glasgownet.com
Sun May 20 20:48:42 UTC 2007

Package: nagios-plugins-basic
Version: 1.4.5-2.1
Severity: important

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
'/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.



-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages nagios-plugins-basic depends on:
ii  iputils-ping                3:20020927-6 Tools to test the reachability of 
ii  libc6                       2.5-7        GNU C Library: Shared libraries
ii  libssl0.9.8                 0.9.8e-4     SSL shared libraries
ii  procps                      1:3.2.7-3    /proc file system utilities
ii  ucf                         3.001        Update Configuration File: preserv

nagios-plugins-basic recommends no packages.

-- no debconf information

More information about the Pkg-nagios-devel mailing list