temperature.includes"
Message-ID: <58086b80.9Mvad9atucmGbP+t%lm(a)mathias-kettner.de>
User-Agent: Heirloom mailx 12.5 6/20/10
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Module: check_mk
Branch: master
Commit: 5a59d4194f159d95e5478af5f704ae62fe0e8cff
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5a59d4194f159d…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Oct 20 08:59:12 2016 +0200
3966 FIX apc_symmetra raritan_emx: Fixed wrong include "temperature.includes"
The checks were including non existant check include files which lead to an
error:
IOError: [Errno 2] No such file or directory:
'/omd/sites/test/share/check_mk/checks/temperature.includes'
When using nagios core, this made the whole compilation of the configuration
fail in case the checks are used.
---
.werks/3966 | 15 +++++++++++++++
ChangeLog | 1 +
checks/apc_symmetra | 2 +-
checks/raritan_emx | 2 +-
4 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/.werks/3966 b/.werks/3966
new file mode 100644
index 0000000..853adf8
--- /dev/null
+++ b/.werks/3966
@@ -0,0 +1,15 @@
+Title: apc_symmetra raritan_emx: Fixed wrong include "temperature.includes"
+Level: 2
+Component: checks
+Compatible: compat
+Version: 1.4.0i2
+Date: 1476946657
+Class: fix
+
+The checks were including non existant check include files which lead to an
+error:
+
+IOError: [Errno 2] No such file or directory:
'/omd/sites/test/share/check_mk/checks/temperature.includes'
+
+When using nagios core, this made the whole compilation of the configuration
+fail in case the checks are used.
diff --git a/ChangeLog b/ChangeLog
index 13d5533..8c5e40c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -33,6 +33,7 @@
* 3650 FIX: Fixed bash versionitis, unbreaking cached check results....
* 3960 FIX: if.include: fixed wrong order if interface groups are configured
* 3828 FIX: agent_netapp: improved error reporting. fixed exception when
snapmirror-get-status returns no values
+ * 3966 FIX: apc_symmetra raritan_emx: Fixed wrong include
"temperature.includes"...
Multisite:
* 3959 Two new filters for the comment view: author and comment text field
diff --git a/checks/apc_symmetra b/checks/apc_symmetra
index c42f483..1e63112 100644
--- a/checks/apc_symmetra
+++ b/checks/apc_symmetra
@@ -296,7 +296,7 @@ check_info['apc_symmetra.temp'] = {
'default_levels_variable' : 'apc_symmetra_temp_default_levels',
'has_perfdata' : True,
'group' : 'temperature',
- 'includes' : [ 'temperature.includes' ],
+ 'includes' : [ 'temperature.include' ],
}
diff --git a/checks/raritan_emx b/checks/raritan_emx
index 625e046..7741e8d 100644
--- a/checks/raritan_emx
+++ b/checks/raritan_emx
@@ -121,7 +121,7 @@ check_info['raritan_emx'] = {
]),
"snmp_scan_function" : lambda oid: oid(".1.3.6.1.2.1.1.2.0")
in [".1.3.6.1.4.1.13742.8"],
"group" : "temperature",
- "includes" : [ "temperature.includes",
"raritan.include" ],
+ "includes" : [ "temperature.include",
"raritan.include" ],
}
#.