[Pkg-nagios-devel] Bug#741208: triggers 'Variable will not stay shared' error when used in icinga
Jelmer Vernooij
jelmer at debian.org
Sun Mar 9 23:35:13 UTC 2014
Package: nagios-plugins-contrib
Severity: normal
Tags: patch
icinga uses eval to run perl plugins, and this triggers errors for
two DNSSEC-related plugins related to shared variables, which causes
them to fail:
E.g.:
[1394407700.135575] [016.1] [pid=1227] HOST: myhost, SERVICE: RRSIG
expiry mydomain, 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_zone_rrsig_expiration: "Variable
"%opts" will not stay shared at (eval 1) line 115," at
/usr/lib/icinga/p1.pl line 159.\n
The attached patch fixes the issue for me.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.13-1-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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nagios-plugins-contrib-our.diff
Type: text/x-diff
Size: 1268 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20140309/baa9f099/attachment.diff>
More information about the Pkg-nagios-devel
mailing list