[Pkg-nagios-devel] Bug#488820: nagios-plugins: check_disk_smb - compilation aborted due to errors

Andreas Unterkircher unki at netshadow.at
Tue Jul 1 13:08:04 UTC 2008


Package: nagios-plugins
Version: 1.4.12-1
Severity: important

After upgrading to the 1.4.12-1 version of nagios-plugins,
check_disk_smb no longer can be called and produce the following output:

unki at lnx-vie-430:~$ /usr/lib/nagios/plugins/check_disk_smb 
Global symbol "$smbclientoptions" requires explicit package name at
/usr/lib/nagios/plugins/check_disk_smb line 162.
Global symbol "$smbclientoptions" requires explicit package name at
/usr/lib/nagios/plugins/check_disk_smb line 163.
Global symbol "$smbclientoptions" requires explicit package name at
/usr/lib/nagios/plugins/check_disk_smb line 165.
Global symbol "$smbclientoptions" requires explicit package name at
/usr/lib/nagios/plugins/check_disk_smb line 166.
Global symbol "$smbclientoptions" requires explicit package name at
/usr/lib/nagios/plugins/check_disk_smb line 170.
Global symbol "$smbclientoptions" requires explicit package name at
/usr/lib/nagios/plugins/check_disk_smb line 171.
Global symbol "$smbclientoptions" requires explicit package name at
/usr/lib/nagios/plugins/check_disk_smb line 173.
Global symbol "$smbclientoptions" requires explicit package name at
/usr/lib/nagios/plugins/check_disk_smb line 174.
Execution of /usr/lib/nagios/plugins/check_disk_smb aborted due to
compilation errors.

Adding the line

my $smbclientoptions = "";

somewhere before the reported lines fix this misbehaviour, but I
suppose there was a reason for $smbclientoptions to be introduced.

Cheers,
Andreas

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

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages nagios-plugins depends on:
ii  nagios-plugins-basic          1.4.12-1   Plugins for the nagios network mon
ii  nagios-plugins-standard       1.4.12-1   Plugins for the nagios network mon

nagios-plugins recommends no packages.

-- no debconf information





More information about the Pkg-nagios-devel mailing list