Module: check_mk
Branch: master
Commit: c0457f93b21bdf56760acaaef93ab23dedee4a56
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c0457f93b21bdf…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Sep 9 10:00:22 2015 +0200
#2561 FIX check-mk-agent rpm is now also replacing check_mk_agent named rpms
We used the package name check_mk_agent only for some versions. To make
upgrade as easy as possible we also support upgrade from these packages.
---
.werks/2561 | 10 ++++++++++
ChangeLog | 1 +
agents/check-mk-agent-1.2.7i3-1.noarch.rpm | Bin 21617 -> 21917 bytes
agents/check-mk-agent.spec | 2 +-
4 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/2561 b/.werks/2561
new file mode 100644
index 0000000..83f7a10
--- /dev/null
+++ b/.werks/2561
@@ -0,0 +1,10 @@
+Title: check-mk-agent rpm is now also replacing check_mk_agent named rpms
+Level: 1
+Component: checks
+Compatible: compat
+Version: 1.2.7i3
+Date: 1441785546
+Class: fix
+
+We used the package name check_mk_agent only for some versions. To make
+upgrade as easy as possible we also support upgrade from these packages.
diff --git a/ChangeLog b/ChangeLog
index 8e27100..084a1a7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -170,6 +170,7 @@
* 2570 FIX: winperf_msx_queues: fixed crash when winperf data is missing...
* 2593 FIX: cisco_wlc, cisco_wlc_clients: Fix discovery so that Cisco Virtual Wireless Controller are detected...
* 2571 FIX: local: improved reporting of bad local check output
+ * 2561 FIX: check-mk-agent rpm is now also replacing check_mk_agent named rpms...
Multisite:
* 2385 SEC: Fixed possible reflected XSS on all GUI pages where users can produce unhandled exceptions...
diff --git a/agents/check-mk-agent-1.2.7i3-1.noarch.rpm b/agents/check-mk-agent-1.2.7i3-1.noarch.rpm
index 1ee6f8d..d3f0cb9 100644
Binary files a/agents/check-mk-agent-1.2.7i3-1.noarch.rpm and b/agents/check-mk-agent-1.2.7i3-1.noarch.rpm differ
diff --git a/agents/check-mk-agent.spec b/agents/check-mk-agent.spec
index 7b950b3..07dc10f 100644
--- a/agents/check-mk-agent.spec
+++ b/agents/check-mk-agent.spec
@@ -34,7 +34,7 @@ BuildRoot: %{_topdir}/buildroot
AutoReq: off
AutoProv: off
BuildArch: noarch
-Obsoletes: check_mk-agent
+Obsoletes: check_mk-agent check_mk_agent
%description
The Check_MK Agent uses xinetd to provide information about the system
Module: check_mk
Branch: master
Commit: b7280645fa7e55a91af1c8815cdd4a07024454da
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b7280645fa7e55…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Mon Sep 7 16:12:14 2015 +0200
#1292 FIX hitachi_hus_status: Internal Name of Check changed
The internal name of the check changed. You will not loose any history data, but it is needed to make rediscovery.
---
.werks/1292 | 10 ++++++++++
ChangeLog | 2 ++
checks/hitachi_hus_status | 2 +-
doc/missing-manpage | 1 -
4 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/.werks/1292 b/.werks/1292
new file mode 100644
index 0000000..2f7d502
--- /dev/null
+++ b/.werks/1292
@@ -0,0 +1,10 @@
+Title: hitachi_hus_status: Internal Name of Check changed
+Level: 1
+Component: checks
+Compatible: incomp
+Version: 1.2.7i3
+Date: 1441635061
+Class: fix
+
+The internal name of the check changed. You will not loose any history data, but it is needed to make rediscovery.
+
diff --git a/ChangeLog b/ChangeLog
index 3c0dd72..c113bff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -172,6 +172,8 @@
* 2571 FIX: local: improved reporting of bad local check output
* 1291 FIX: alcatel_fans: The internal name of the Check changed...
NOTE: Please refer to the migration notes!
+ * 1292 FIX: hitachi_hus_status: Internal Name of Check changed...
+ NOTE: Please refer to the migration notes!
Multisite:
* 2385 SEC: Fixed possible reflected XSS on all GUI pages where users can produce unhandled exceptions...
diff --git a/checks/hitachi_hus_status b/checks/hitachi_hus_status
index ef387d6..c39a419 100644
--- a/checks/hitachi_hus_status
+++ b/checks/hitachi_hus_status
@@ -58,7 +58,7 @@ def check_hitatchi_hus_status2(_no_item, _no_params, info):
if status & int(info[0][0]):
yield state, message
-check_info["hitatchi_hus_status2"] = {
+check_info["hitatchi_hus_status"] = {
"check_function" : check_hitatchi_hus_status2,
"inventory_function" : inventory_hitatchi_hus_status2,
"service_description" : "Status",
diff --git a/doc/missing-manpage b/doc/missing-manpage
index b6c20ef..06594c9 100644
--- a/doc/missing-manpage
+++ b/doc/missing-manpage
@@ -5,7 +5,6 @@ docsis_channels_upstream
fortigate_cpu_base
fortigate_sessions_base
ftp
-hitatchi_hus_status2
ibm_svc_disks
icom_repeater.ps_volt
mail
Module: check_mk
Branch: master
Commit: acc3bf54f61f36116152248ccb6813d46611e9d8
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=acc3bf54f61f36…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Mon Sep 7 16:05:06 2015 +0200
#1291 FIX alcatel_fans: The internal name of the Check changed
The internal name of the check was wrong. This is corrected now, but it is needed to make a rediscovery after update.
You will not lost any history data since the service description remains.
---
.werks/1291 | 11 +++++++++++
ChangeLog | 2 ++
checks/alcatel_fans | 10 +++++-----
doc/missing-manpage | 1 -
4 files changed, 18 insertions(+), 6 deletions(-)
diff --git a/.werks/1291 b/.werks/1291
new file mode 100644
index 0000000..ab896b0
--- /dev/null
+++ b/.werks/1291
@@ -0,0 +1,11 @@
+Title: alcatel_fans: The internal name of the Check changed
+Level: 1
+Component: checks
+Compatible: incomp
+Version: 1.2.7i3
+Date: 1441634604
+Class: fix
+
+The internal name of the check was wrong. This is corrected now, but it is needed to make a rediscovery after update.
+You will not lost any history data since the service description remains.
+
diff --git a/ChangeLog b/ChangeLog
index 8e27100..3c0dd72 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -170,6 +170,8 @@
* 2570 FIX: winperf_msx_queues: fixed crash when winperf data is missing...
* 2593 FIX: cisco_wlc, cisco_wlc_clients: Fix discovery so that Cisco Virtual Wireless Controller are detected...
* 2571 FIX: local: improved reporting of bad local check output
+ * 1291 FIX: alcatel_fans: The internal name of the Check changed...
+ NOTE: Please refer to the migration notes!
Multisite:
* 2385 SEC: Fixed possible reflected XSS on all GUI pages where users can produce unhandled exceptions...
diff --git a/checks/alcatel_fans b/checks/alcatel_fans
index 623f53b..4a3bb97 100644
--- a/checks/alcatel_fans
+++ b/checks/alcatel_fans
@@ -24,12 +24,12 @@
# to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
# Boston, MA 02110-1301 USA.
-def inventory_alcatel_fan(info):
+def inventory_alcatel_fans(info):
# parameter start in enumerate only works since python 2.6
for nr, value in enumerate(info):
yield nr+1, None
-def check_alcatel_fan(item, _no_params, info):
+def check_alcatel_fans(item, _no_params, info):
fan_states = {
0 : "has no status",
1 : "not running",
@@ -43,9 +43,9 @@ def check_alcatel_fan(item, _no_params, info):
state = 2
return state, "Fan " + fan_states[fan_state]
-check_info["alcatel_fan"] = {
- "check_function" : check_alcatel_fan,
- "inventory_function" : inventory_alcatel_fan,
+check_info["alcatel_fans"] = {
+ "check_function" : check_alcatel_fans,
+ "inventory_function" : inventory_alcatel_fans,
"service_description" : "Fan %s",
"snmp_scan_function" : lambda oid: oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.6486.800"),
"snmp_info" : (".1.3.6.1.4.1.6486.800.1.1.1.3.1.1.11.1", [ 2 ]),
diff --git a/doc/missing-manpage b/doc/missing-manpage
index e19c684..b3969da 100644
--- a/doc/missing-manpage
+++ b/doc/missing-manpage
@@ -1,4 +1,3 @@
-alcatel_fan
bi_aggr
bluecat_command_server
bluecat_threads