Module: check_mk
Branch: master
Commit: 6ecd3d28ecff8dc92d3df8b5d995c3e8d87e9f12
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6ecd3d28ecff8d…
Author: Florian Kromer <fk(a)mathias-kettner.de>
Date: Mon Nov 19 15:37:58 2018 +0100
6895 FIX hp_msa_volume: Use volume-name as item identifier
Previously the durable-id has been used as identifier of items for the
check hp_msa_volume (and its sub checks io and df). The durable-id is not
guaranteed to be unique for different controllers of a volume. This werk
changes the unique identifier for items from durable-id to volume-name.
As soon as a discovery is executed the hp_msa_volume check items
appear volume-name.
CMK-1129
Change-Id: I72c5630d6c3bdbbadd85bb0a9ba920da69f60c01
---
.werks/6895 | 16 +
checks/hp_msa_volume | 73 ++--
.../datasets/hp_msa_volume_regression.py | 394 ++-------------------
tests/unit/checks/test_hp_msa_volume.py | 138 ++++++++
4 files changed, 232 insertions(+), 389 deletions(-)
Diff: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=6ecd3d28ec…
Module: check_mk
Branch: master
Commit: ee9bb1f0cc6b23926a14ed3f5fab4d3b4e874fb3
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ee9bb1f0cc6b23…
Author: Marcel Arentz <ma(a)mathias-kettner.de>
Date: Thu Nov 22 11:18:42 2018 +0100
6754 FIX if_lancom: Fixed correct interface discovery for newer lancom router
Newer lancom devices to not authenticate himself as a lancom device in the
snmp info. This is fixed for now, so the sepcial check plugin for lancom
interfaces are working correctly again.
This change concerns at least the R800V series and a rediscovery may be needed.
Change-Id: I9fea100a0d777f23c54d3bb72543e17d82a1f1bc
---
.werks/6754 | 14 ++++++++++++++
checks/if_lancom | 3 ++-
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/.werks/6754 b/.werks/6754
new file mode 100644
index 0000000..93a046c
--- /dev/null
+++ b/.werks/6754
@@ -0,0 +1,14 @@
+Title: if_lancom: Fixed correct interface discovery for newer lancom router
+Level: 1
+Component: checks
+Compatible: incomp
+Edition: cre
+Version: 1.6.0i1
+Date: 1542881754
+Class: fix
+
+Newer lancom devices to not authenticate himself as a lancom device in the
+snmp info. This is fixed for now, so the sepcial check plugin for lancom
+interfaces are working correctly again.
+
+This change concerns at least the R800V series and a rediscovery may be needed.
diff --git a/checks/if_lancom b/checks/if_lancom
index 61f8d0c..9b363ce 100644
--- a/checks/if_lancom
+++ b/checks/if_lancom
@@ -95,7 +95,8 @@ check_info["if_lancom"] = {
],
# check if number of network interfaces (IF-MIB::ifNumber.0) is at least 2
'snmp_scan_function': lambda oid: ("LANCOM" in oid(".1.3.6.1.2.1.1.1.0") or "ELSA" in oid(
- ".1.3.6.1.2.1.1.1.0") or "T-Systems" in oid(".1.3.6.1.2.1.1.1.0")) and (not if64_disabled(
+ ".1.3.6.1.2.1.1.1.0") or "T-Systems" in oid(".1.3.6.1.2.1.1.1.0")) or "LAN R800V" in oid(
+ ".1.3.6.1.2.1.1.1.0") and (not if64_disabled(
host_name())) and oid(".1.3.6.1.2.1.31.1.1.1.6.*") is not None,
'group': 'if',
'default_levels_variable': 'if_default_levels',
Module: check_mk
Branch: master
Commit: fab632128b3de6b057c0b53b9ed87ad82c1e39b8
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=fab632128b3de6…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Nov 22 09:45:56 2018 +0100
6911 FIX Fixed terminating process on multiple restart requests
When sending multiple restart requests (using SIGUSR1) in a short time to the livestatus proxy
daemon this could lead to a stopped livestatus proxy process. In this situation the process
had to be started manually again.
Change-Id: Ib036d8f3db1bc7455a3e6f295338d198179fbf4a
---
.werks/6911 | 12 ++++++++++++
cmk/gui/watolib.py | 3 ++-
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/.werks/6911 b/.werks/6911
new file mode 100644
index 0000000..81c3c89
--- /dev/null
+++ b/.werks/6911
@@ -0,0 +1,12 @@
+Title: Fixed terminating process on multiple restart requests
+Level: 1
+Component: liveproxy
+Compatible: compat
+Edition: cee
+Version: 1.6.0i1
+Date: 1542876290
+Class: fix
+
+When sending multiple restart requests (using SIGUSR1) in a short time to the livestatus proxy
+daemon this could lead to a stopped livestatus proxy process. In this situation the process
+had to be started manually again.
diff --git a/cmk/gui/watolib.py b/cmk/gui/watolib.py
index f1e2aa6..da5ef92 100644
--- a/cmk/gui/watolib.py
+++ b/cmk/gui/watolib.py
@@ -63,6 +63,7 @@ import copy
import socket
import time
import threading
+import signal
from hashlib import sha256
from pathlib2 import Path
@@ -4207,7 +4208,7 @@ class ConfigDomainLiveproxy(ConfigDomain):
pidfile = cmk.paths.livestatus_unix_socket + "proxyd.pid"
try:
pid = int(file(pidfile).read().strip())
- os.kill(pid, 10)
+ os.kill(pid, signal.SIGUSR1)
except IOError as e:
if e.errno == 2: # No such file or directory
pass