[Pkg-nagios-devel] Bug#808722: nagios-plugins-contrib: **ePN failed to compile /usr/lib/nagios/plugins/check_printer

Berni Elbourn berni421 at gmail.com
Tue Dec 22 07:48:00 UTC 2015


Package: nagios-plugins-contrib
Version: 14.20141104
Severity: important

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

upgrade to jessie, printer is status is critical (Service check did not exit properly) 
debug=16 shows:

[1450769515.088835] [016.0] [pid=12346] Embedded Perl failed to compile /usr/lib/nagios/plugins/check_printer, compile error **ePN failed to compile /usr/lib/nagios/plugins/check_printer: "Missing right curly or square bracket at (eval 1) line 277, at end of line
[1450769525.095707] [016.1] [pid=12346] HOST: hl4040c, SERVICE: PRINT, CHECK TYPE: Active, OPTIONS: 0, SCHEDULED: Yes, RESCHEDULE: Yes, EXITED OK: No, RETURN CODE: 3, OUTPUT: **ePN failed to compile /usr/lib/nagios/plugins/check_printer: "Missing right curly or square bracket at (eval 1) line 277, at end of line\nsyntax error at (eval 1) line 284, at EOF" at /usr/lib/nagios3/p1.pl line 161.\n

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

tried nagios -epn
elbournb at red:/usr/lib/nagios/plugins$ diff check_printer check_printer.jessie
2d1
< # nagios: -epn

   * What was the outcome of this action?

did not fix

   * What outcome did you expect instead?

same behaviour as running with command line. which is:

elbournb at red:/usr/lib/nagios/plugins$ ./check_printer -h hl4040c ; echo $?
Printer Supplies OK |  'Black Toner Brother TN-110/115/130/135/150/155/170/175BK'=0%;0;0;0;100  'Magenta Toner Brother TN-110/115/130/135/150/155/170/175M'=0%;0;0;0;100  'Yellow Toner Brother TN-110/115/130/135/150/155/170/175Y'=0%;0;0;0;100  'Waste Toner Box Brother WT-100CL'=0%;0;0;0;100  'Cyan Toner Brother TN-110/115/130/135/150/155/170/175C'=0%;0;0;0;100  'Belt Unit Brother BU-100CL'=68%;0;0;0;100  'Drum Unit Brother DR-110/130/150/170CL'=68%;0;0;0;100 
0

*** End of the template - remove these template lines ***


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

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

nagios-plugins-contrib depends on no packages.

Versions of packages nagios-plugins-contrib recommends:
ii  binutils                          2.25-5
ii  freeipmi-tools                    1.4.5-3
ii  ldap-utils                        2.4.40+dfsg-1+deb8u1
ii  libc6                             2.19-18+deb8u1
ii  libdata-validate-domain-perl      0.10-1
ii  libdata-validate-ip-perl          0.24-1
ii  libdate-manip-perl                6.47-1
ii  libdbd-mysql-perl                 4.028-2+b1
ii  libio-socket-ssl-perl             2.002-2+deb8u1
ii  libipc-run-perl                   0.92-1
ii  liblocale-gettext-perl            1.05-8+b1
ii  liblwp-useragent-determined-perl  1.07-1
ii  libmail-imapclient-perl           3.35-1
ii  libmemcached11                    1.0.18-4
ii  libnagios-plugin-perl             0.36-1
ii  libnet-cups-perl                  0.61-2+b3
ii  libnet-dns-perl                   0.81-2
ii  libnet-dns-sec-perl               0.21-1
ii  libnet-smtp-ssl-perl              1.01-3
ii  libnet-smtp-tls-perl              0.12-2
ii  libnet-snmp-perl                  6.0.1-2
ii  libnet-ssleay-perl                1.65-1+b1
ii  libreadonly-perl                  2.000-1
ii  libtimedate-perl                  2.3000-2
ii  libvarnishapi1                    4.0.2-1
ii  libwebinject-perl                 1.86-1
ii  libyaml-syck-perl                 1.27-2+b2
ii  lsof                              4.86+dfsg-1
ii  nagios-plugins-basic              2.1.1-1
ii  openssl                           1.0.1k-3+deb8u2
ii  perl                              5.20.2-3+deb8u1
ii  perl-base [libsocket-perl]        5.20.2-3+deb8u1
ii  procps                            2:3.3.9-9
ii  python                            2.7.9-1
ii  python-pymongo                    2.7.2-1
pn  python:any                        <none>
ii  ruby                              1:2.1.5+deb8u1
ii  ruby1.8 [ruby-interpreter]        1.8.7.358-7.1+deb7u3
ii  ruby1.9.1 [ruby-interpreter]      1.9.3.194-8.1+deb7u5
ii  ruby2.1 [ruby-interpreter]        2.1.5-2+deb8u2
ii  snmp                              5.7.2.1+dfsg-1
ii  whois                             5.2.7

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

-- no debconf information



More information about the Pkg-nagios-devel mailing list