Your message dated Sun, 11 Dec 2016 15:09:08 +0000
with message-id <[email protected]>
and subject line Bug#844319: fixed in nagios-plugins-contrib 17.20161211
has caused the Debian Bug report #844319,
regarding check_cups: undefined subroutine &main::parseDateDelta in warning 
state
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
844319: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=844319
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: nagios-plugins-contrib
Version: 14.20141104~bpo70+1
Severity: normal

Hi,

check_cups terminates in a warning state (triggered by a hanging print job) 
with:
Undefined subroutine &main::parseDateDelta called at 
/usr/lib/nagios/plugins/check_cups line 378.

The problem is that the script calls parseDateDelta (which is nonexistent) 
instead of ParseDateDelta (Date::Manip) with a capital P. (However, in a 
critical state ParseDateDelta is actually written correctly...)

The following patch fixes the issue:

--- check_cups.orig     2016-11-14 13:06:47.218760340 +0100
+++ check_cups  2016-11-14 13:08:47.171046295 +0100
@@ -375,7 +375,7 @@
 
         my( $age, $jobs ) = ( $warning{$queue}->{age}, 
$warning{$queue}->{jobs} );
 
-        my( $prettyage ) = prettyDelta( parseDateDelta( "$age minutes" ) );
+        my( $prettyage ) = prettyDelta( ParseDateDelta( "$age minutes" ) );
 
         my( @messages );
 

Best regards,
Manuel Hachtkemper

-- System Information:
Debian Release: 7.11
  APT prefers oldstable
  APT policy: (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10.104.wap (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

nagios-plugins-contrib depends on no packages.

Versions of packages nagios-plugins-contrib recommends:
ii  binutils                          2.22-8+deb7u3
pn  freeipmi-tools                    <none>
ii  ldap-utils                        2.4.31-2+deb7u2
ii  libc6                             2.13-38+deb7u11
pn  libdata-validate-domain-perl      <none>
pn  libdata-validate-ip-perl          <none>
ii  libdate-manip-perl                6.32-1
pn  libdbd-mysql-perl                 <none>
ii  libio-socket-ssl-perl             1.76-2
ii  libipc-run-perl                   0.92-1
ii  liblocale-gettext-perl            1.05-7+b1
pn  liblwp-useragent-determined-perl  <none>
pn  libmail-imapclient-perl           <none>
pn  libmemcached10                    <none>
ii  libnagios-plugin-perl             0.36-1
ii  libnet-cups-perl                  0.60-1+b2
ii  libnet-dns-perl                   0.66-2+b2
pn  libnet-dns-sec-perl               <none>
pn  libnet-smtp-ssl-perl              <none>
pn  libnet-smtp-tls-perl              <none>
pn  libnet-snmp-perl                  <none>
ii  libnet-ssleay-perl                1.48-1+b1
ii  libreadonly-perl                  1.03-4
ii  libtimedate-perl                  1.2000-1
pn  libvarnishapi1                    <none>
pn  libwebinject-perl                 <none>
ii  libyaml-syck-perl                 1.20-1
ii  lsof                              4.86+dfsg-1
pn  nagios-plugins-basic              <none>
ii  openssl                           1.0.1t-1+deb7u1
ii  perl                              5.14.2-21+deb7u4
ii  perl-base [libsocket-perl]        5.14.2-21+deb7u4
ii  procps                            1:3.3.3-3
ii  python                            2.7.3-4+deb7u1
pn  python-pymongo                    <none>
ii  ruby                              1:1.9.3
ii  ruby1.9.1 [ruby-interpreter]      1.9.3.194-8.1+deb7u5
ii  snmp                              5.4.3~dfsg-2.8+deb7u1
pn  whois                             <none>

Versions of packages nagios-plugins-contrib suggests:
pn  backuppc                   <none>
pn  cciss-vol-status           <none>
pn  expect                     <none>
ii  moreutils                  0.47
pn  mpt-status                 <none>
pn  nagios-plugin-check-multi  <none>
pn  percona-toolkit            <none>
ii  perl-doc                   5.14.2-21+deb7u4
pn  smstools                   <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: nagios-plugins-contrib
Source-Version: 17.20161211

We believe that the bug you reported is fixed in the latest version of
nagios-plugins-contrib, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jan Wagner <[email protected]> (supplier of updated nagios-plugins-contrib 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 11 Dec 2016 14:33:04 +0100
Source: nagios-plugins-contrib
Binary: nagios-plugins-contrib
Architecture: source i386
Version: 17.20161211
Distribution: unstable
Urgency: medium
Maintainer: Debian Nagios Maintainer Group 
<[email protected]>
Changed-By: Jan Wagner <[email protected]>
Description:
 nagios-plugins-contrib - Plugins for nagios compatible monitoring systems
Closes: 808722 844319
Changes:
 nagios-plugins-contrib (17.20161211) unstable; urgency=medium
 .
   [ Evgeni Golov ]
   * [743a7ba] implement tests for check_cups and httpd
 .
   [ Jan Wagner ]
   * [f2ad81b] travis-ci: Build against unstable, testing and stable; run 
lintian
   * [51e1deb] d/control: Bump Standards-Version to 3.9.8, no changes needed
   * [a316cb8] check_raid: Update to 4.0.3
   * [3699879] check_mongodb: Updating to latest version 8c5cc99
   * [a5b2276] check_ipmi: Update to 3.12
   * [60319ea] check_ssl_cert: Updating to 1.35.0
 .
   [ Evgeni Golov ]
   * [a16fc7d] stat daemons before running tests
   * [65c8472] Auto update of debian/tests/control
   * [5255d54] check_httpd_status: only accept numeric uptime output
   * [cd76f3a] apache2 tends to be a bit chatty during restart, shut it up
   * [b34a201] Auto update of debian/tests/control
 .
   [ Jan Wagner ]
   * [0a4e29e] check_mongodb: Fix version in control file
   * [2218a15] check_hpasm: Update to 4.7.5.2
   * [7bd78e4] Adding d/patches/check_cups/ParseDateDelta (Closes: #844319),
     thanks Manuel Hachtkemper
 .
   [ Petter Reinholdtsen ]
   * [789bdb5] Improve check_shutdown control file.
 .
   [ Jan Wagner ]
   * [1c5fbfe] d/control: Update VCS-URLs to https
 .
   [ Evgeni Golov ]
   * [ac93909] allow tests to run with libnagios-plugin-perl on jessie
   * [3478a48] Auto update of debian/tests/control
 .
   [ Jan Wagner ]
   * [171275f] check_printer: Add missing hostname option into check command
   * [6e1f6c2] check_printer: Disable epn (Closes: #808722)
   * [63564c7] check_ssl_cert: Updating to 1.36.1
   * [1d9afb0] Add d/patches/check_libvirt/fix_uom, thanks Björn Lässig
   * [827da04] check_raid: Update to 4.0.4
   * [056d78e] check_ssl_cert: Fix version in control file to 1.36.1
   * [9fea343] d/control.in: Updating to values committed to control
   * [15d33f8] d/control: Updating to latest plugin versions
Checksums-Sha1:
 4f0526359e3160df119d663e40b36917136de630 2165 
nagios-plugins-contrib_17.20161211.dsc
 224e815b4d485e36468d65aeb7b0b6dc0cf56cbe 831936 
nagios-plugins-contrib_17.20161211.tar.xz
 ba5de6f55553061087edcfbb02037c4bf13212a0 20328 
nagios-plugins-contrib-dbgsym_17.20161211_i386.deb
 e618acbf5be33e7afb3f027e4c7a202fa4605a97 6509 
nagios-plugins-contrib_17.20161211_i386.buildinfo
 2b77ccce0fd47642c5ea3f369120ab01ded9f20f 436320 
nagios-plugins-contrib_17.20161211_i386.deb
Checksums-Sha256:
 4716629107f48071eae7a60b17210c040cb2e5a55980c072c0b9dcbb1b4a707b 2165 
nagios-plugins-contrib_17.20161211.dsc
 b4be9980e416d1d6ba3bdf9bfa2b476cdb71a5d43823d330a0ab501f0a068693 831936 
nagios-plugins-contrib_17.20161211.tar.xz
 99dc3f10dae0810fd98448b3208fa00da3acfd45a51b5b5d255baf12f8c0398c 20328 
nagios-plugins-contrib-dbgsym_17.20161211_i386.deb
 141db00cb5e6705a8d9d08470d6e32d6616b9b4aee57b5d789ecb7bfd8d648b1 6509 
nagios-plugins-contrib_17.20161211_i386.buildinfo
 3b119a008d6ddec112db7452ff02f822cbed041e2c4291c972e4281555670885 436320 
nagios-plugins-contrib_17.20161211_i386.deb
Files:
 5f2596c611f7bfb08677086e22beef43 2165 net extra 
nagios-plugins-contrib_17.20161211.dsc
 7eaec3d599628f7758de33e9b911d134 831936 net extra 
nagios-plugins-contrib_17.20161211.tar.xz
 dcf03f6907dfcd3516bac61885d00152 20328 debug extra 
nagios-plugins-contrib-dbgsym_17.20161211_i386.deb
 750b2aad43b5b435aee9948e56b326d5 6509 net extra 
nagios-plugins-contrib_17.20161211_i386.buildinfo
 1cbb7b6176a001fab18dfcdfef8c6aa2 436320 net extra 
nagios-plugins-contrib_17.20161211_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBWE1eQwxwVXtaBlE+AQhW+BAAhaefvNGHLfzUY2IJsYHKLruURzcZ9tsF
g7lp38oVFi+XPEw+m8xQGv5FtpQ6XPIBmP6xa1aqabFnBt6IJUaIPkbSr9bjm3Kb
79T4kaJARKS8IEis+crzGjjvL+Hzbg9Xq/80kl8jcY6HU7UW7bS9V/OHsOp7+BtY
qugQnydxlQVk0IQGUdD5BSaiuSoNE255gdoWLBXaO4ButfefxFfkUyzZ2W2qq79/
2kTdE1r6XTNYMWQi3YdN46BKZoZnmHv1wYL4COvjIMm27QUejcVAfq498XcISz6z
RORv5wX6/KuJRUOflnJOwAH2x61W7pXTJgujsgobvFYDSL7FNV3WBOnCVRnU9Kbl
Mb57qVJ1/9MDY6ElyoKGTMWb0iUgp76P9oUqhkxDuEkjnA98YDJJXzStNlNtkRVs
/N6fYdtz3fz1fAWEWuIQl2+Yb5qcRTdH9yH8GDh0wCuLVQ8A1kgsbDYAr47lsh5l
v60MUmfHM64OyKC3xnVRRa6kl1XuBsvzz2cxXrr6OrUzYzf0GGLU3TOkywT2ErY1
bMAu0UUHRZVeNXr7XyK/gBSBzMzK7DfjBZhqOYlKKKUQ2D5HdTCHgPAqMcuaxb2H
ixWlbQR84SBH7TlY+Yg2thnkofe9tKAcu3hzCqqfh1Ls6YwpT6t8w42ru9J1L48w
gTny+ua0OM4=
=Ld5r
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to