[pkg-nagios-changes] [Git][nagios-team/pkg-nagvis][master] 4 commits: New upstream version 1.9.24
Bas Couwenberg
gitlab at salsa.debian.org
Tue Feb 2 14:27:27 GMT 2021
Bas Couwenberg pushed to branch master at Debian Nagios Maintainer Group / pkg-nagvis
Commits:
6db30af2 by Bas Couwenberg at 2021-02-02T15:23:27+01:00
New upstream version 1.9.24
- - - - -
2cc4d992 by Bas Couwenberg at 2021-02-02T15:23:35+01:00
Update upstream source from tag 'upstream/1.9.24'
Update to upstream version '1.9.24'
with Debian dir d423fc2a00607ee2e33476a093a3174c9bd6e145
- - - - -
0463151b by Bas Couwenberg at 2021-02-02T15:23:51+01:00
New upstream release.
- - - - -
2e73bf09 by Bas Couwenberg at 2021-02-02T15:24:40+01:00
Set distribution to unstable.
- - - - -
6 changed files:
- ChangeLog
- debian/changelog
- share/server/core/classes/CoreAuthModPDO.php
- share/server/core/classes/GlobalBackendmkbi.php
- share/server/core/classes/GlobalMapCfg.php
- share/server/core/defines/global.php
Changes:
=====================================
ChangeLog
=====================================
@@ -1,3 +1,10 @@
+1.9.24
+ * FIX: Fix more PHP 7.4 incompatibilites (#265)
+ (This fixes one issue related to the PDO auth module and one issue related
+ to map configurations with numeric object_id attributes.)
+ * FIX: Fix Checkmk BI backend error when pending services are in downtime
+ (Undefined index 'downtime' was shown)
+
1.9.23
Frontend:
* Make NagVis compatible with Checkmk 2.0 auth cookies
=====================================
debian/changelog
=====================================
@@ -1,10 +1,11 @@
-nagvis (1:1.9.23-2) UNRELEASED; urgency=medium
+nagvis (1:1.9.24-1) unstable; urgency=medium
* Team upload.
+ * New upstream release.
* Bump watch file version to 4.
* Bump Standards-Version to 4.5.1, no changes.
- -- Bas Couwenberg <sebastic at debian.org> Fri, 06 Nov 2020 20:06:35 +0100
+ -- Bas Couwenberg <sebastic at debian.org> Tue, 02 Feb 2021 15:24:32 +0100
nagvis (1:1.9.23-1) unstable; urgency=medium
=====================================
share/server/core/classes/CoreAuthModPDO.php
=====================================
@@ -92,6 +92,9 @@ class CoreAuthModPDO extends CoreAuthModule {
}
$data = $res->fetch();
+
+ if (!isset($data['userId']))
+ return 0;
return intval($data['userId']);
}
=====================================
share/server/core/classes/GlobalBackendmkbi.php
=====================================
@@ -256,6 +256,7 @@ class GlobalBackendmkbi implements GlobalBackendInterface {
$c = Array(
PENDING => Array(
'normal' => 0,
+ 'downtime' => 0,
),
OK => Array(
'normal' => 0,
=====================================
share/server/core/classes/GlobalMapCfg.php
=====================================
@@ -341,9 +341,17 @@ class GlobalMapCfg {
if($sFirstChar == '}') {
if($obj['type'] === 'global')
$id = 0;
- else
+ else {
$id = isset($obj['object_id']) ? $obj['object_id'] : '_'.$iObjId;
+ // In case a numeric object_id is read from the config,
+ // normalize it to the "_[id]" format (which get's replaced
+ // later in verifyObjectIds)
+ if (is_numeric($obj['object_id'])) {
+ $id = '_'.$obj['object_id'];
+ }
+ }
+
// It might happen that there is a duplicate object on the map
// This generates a new object_id for the later objects
if(isset($this->mapConfig[$id])) {
=====================================
share/server/core/defines/global.php
=====================================
@@ -23,7 +23,7 @@
*****************************************************************************/
// NagVis Version
-define('CONST_VERSION', '1.9.23');
+define('CONST_VERSION', '1.9.24');
// Set PHP error handling to standard level
// Different levels for php versions below 5.1 because PHP 5.1 reports
View it on GitLab: https://salsa.debian.org/nagios-team/pkg-nagvis/-/compare/37b76f6e94bc65b7f986d8514268dac4b09c25c4...2e73bf09c128323f650ed6b5aded59f52eb2c6eb
--
View it on GitLab: https://salsa.debian.org/nagios-team/pkg-nagvis/-/compare/37b76f6e94bc65b7f986d8514268dac4b09c25c4...2e73bf09c128323f650ed6b5aded59f52eb2c6eb
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-nagios-changes/attachments/20210202/cc296d14/attachment-0001.html>
More information about the pkg-nagios-changes
mailing list