--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: sitesummary-client: Nagios plugin check_kernel_status fail with kernels "-ckt"
- From: Daniele Palumbo <daniele@retaggio.net>
- Date: Mon, 02 Nov 2015 01:35:40 +0100
- Message-id: <20151102003540.14442.21435.reportbug@sato.gonzaga.retaggio.net>
Package: sitesummary-client
Version: 0.1.18
Severity: important
Tags: patch
The Nagios module to check kernel version number of running and
installed kernels do not work with Canonical Kernel Team kernels.
According to https://lists.debian.org/debian-kernel/2014/11/msg00154.html
this must be done properly.
-- System Information:
Debian Release: 8.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages sitesummary-client depends on:
ii debconf [debconf-2.0] 1.5.56
ii gnupg 1.4.18-7
ii perl 5.20.2-3+deb8u1
ii perl-modules 5.20.2-3+deb8u1
Versions of packages sitesummary-client recommends:
ii cron 3.0pl1-127+deb8u1
ii dmidecode 2.12-3
ii iproute 1:3.16.0-2
ii lsscsi 0.27-3
ii pciutils 1:3.2.1-3
ii usbutils 1:007-2
Versions of packages sitesummary-client suggests:
pn cdpr <none>
pn munin-node <none>
ii nagios-nrpe-server 2.15-1
ii nagios-plugins-standard 2.1.1-1
pn sitesummary <none>
-- debconf information:
db_get sitesummary-client/nagios-server:
sitesummary-client/hostclass:
sitesummary-client/sitegroup:
sitesummary-client/site:
sitesummary-client/collector_url: http://localhost/cgi-bin/sitesummary-collector.cgi
sitesummary-client/enable-nagios-nrpe-config: false
--- /usr/lib/sitesummary/nagios-plugins/check_kernel_status 2014-09-10 14:55:10.000000000 +0200
+++ check_kernel_status 2015-11-02 01:25:18.253340795 +0100
@@ -41,12 +41,14 @@
# New format in kernel package version 3.2.32-1, match first to also work with
# kernel 3.13 and later in Debian.
$sig =~ / Debian (\d+)\.(\d+)\.(\d+)-(\d+)/
+ || $sig =~ / Debian (\d+)\.(\d+)\.(\d+)-ckt(\d+)-(\d+)/
|| $sig =~ /\(Debian (\d+)\.(\d+)\.(\d+)\.dfsg\.(\d+)-(\d+)\)/
|| $sig =~ /\(Debian (\d+)\.(\d+)\.(\d+)\.dfsg\.(\d+)-(\d+)\w+(\d+)\)/
|| $sig =~ /\(Debian (\d+)\.(\d+)\.(\d+)-(\d+).+?(\d+).+?(\d+)\)/
|| $sig =~ /\(Debian (\d+)\.(\d+)\.(\d+)-(\d+)lenny(\d+)\)/
+
)
{
@running_version = ($1, $2, $3, $4, $5 || 0, $6 || 0);
@@ -110,6 +112,10 @@
# Debian Lenny
@installed_version = ($1, $2, $3, $4, 0, 0);
}
+elsif( $dpkg =~ / (\d+)\.(\d+)\.(\d+)-ckt(\d+)-(\d+)/ )
+{
+ @installed_version = ($1, $2, $3, $4, $5, 0);
+}
else
{
print "UNKNOWN - Could not determine installed version ($dpkg).\n";
--- End Message ---
--- Begin Message ---
Source: sitesummary
Source-Version: 0.1.21
We believe that the bug you reported is fixed in the latest version of
sitesummary, 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 803720@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Petter Reinholdtsen <pere@debian.org> (supplier of updated sitesummary 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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 16 May 2016 09:21:25 +0200
Source: sitesummary
Binary: sitesummary sitesummary-client
Architecture: source
Version: 0.1.21
Distribution: unstable
Urgency: medium
Maintainer: Debian Edu Developers <debian-edu@lists.debian.org>
Changed-By: Petter Reinholdtsen <pere@debian.org>
Description:
sitesummary - Generate site summary of submitting hosts (server part)
sitesummary-client - Generate site summary of submitting hosts (client part)
Closes: 803720 816940 823688
Changes:
sitesummary (0.1.21) unstable; urgency=medium
.
[ Wolfgang Schweer ]
* Fix sitesummary.prerm (Closes: #823688).
.
[ Petter Reinholdtsen ]
* Add Brazilian Portuguese (pt_BR) translation by Adriano Rafael Gomes
(Closes: #816940).
* Adjust nagios kernel version checking module to work with recent
Ubuntu kernels (Closes: #803720). Patch from Daniele Palumbo.
* Updated Standards-Version 3.9.6 to 3.9.8.
* Added Wolfgang Schweer as uploader.
* Use Testsuite, not obsolete XS-Testsuite, in control file to
indicate a autopkgtest is available.
Checksums-Sha1:
b495c9f070e1860ab07a784f559fc876f0e9277b 1915 sitesummary_0.1.21.dsc
70c4413bf6a2549a7225425a18fe4f4b09680dc8 77249 sitesummary_0.1.21.tar.gz
Checksums-Sha256:
a59f9f760621fbd9c07cb3028e4cfa0227edfd1ef97d9d9c473eb7d4f8ec1097 1915 sitesummary_0.1.21.dsc
2ab449218bc56900c4b3eb46a3d2d3c324840fe56819061e84460a13e644aa9a 77249 sitesummary_0.1.21.tar.gz
Files:
2639e6c91893dbb0b7d497b8f3befdaf 1915 misc optional sitesummary_0.1.21.dsc
83767bdd5adaeff8703d7cf8b30adf33 77249 misc optional sitesummary_0.1.21.tar.gz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJXOXUXAAoJEIEoCqCHuvsOVsAP/1LCfCWUV7uzsB9AC/lQLiAh
DwJfRwxE7GXytu2Q9ik38qn6R4c0pcJ+Daz4WVWtT75RFa9hgrlUMKU2LhbOkABy
BGvRoTW5lpsfh7A3z5+a5gaTts5U0CNbmMp0Hbhepuj2mua6uLOZenniO2Bkxsm5
dHgeJt1augWSgl0RhzcIwTpHA/KbZtfbzDU9EklAXruanvIfd3ELbGebEL6kk18S
LLeSbOe4bLBOeqA/mcPhtsPXdLsfjFeingFP0cKIIrIgU103idhFU9perKjoWpi/
MKbFmoDJqorP7dBczMsaWrIHkQp5oT1DFTCn9LMo6UFwzrpcFjOw+BYGABR71pwX
OxTARLhpg8NuaqrbaZIKm0JqJDTMozATsh+ICq3v9q42F++uO4iDMF3fOx+wQy54
uSGlhYEmLCJsTGOy+PwjpMgS8ozysJJydxlCdTkL31KYi42c8R1nhr6/VvX2SOww
iyTiJJndQDlLeuAYrfefKAFmV981ZZh593jAklNT7kkBj/2cQBr57sEogJAh6nDM
xDZsHdfJl5AWg52k78DhAKW9tj0HVZFpTM/D/8AIpOA3S+TfVa75NL3UevxMrubO
tikE+fAwm0u4VlQp3mR7V/hkD2LghY9kzM1jht3tpui/JFfcuCMkuasZuhHP9VHy
0fOALRdRHFmDa/EtNso0
=aTXc
-----END PGP SIGNATURE-----
--- End Message ---