Module: check_mk
Branch: master
Commit: 9ce270e616cee7f095009fc14c9ce9f2904fae6d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9ce270e616cee7…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jan 30 09:45:30 2015 +0100
#1882 FIX Fixed exception "filesystem_levels" not defined when compiling config
for nagios
---
.werks/1882 | 10 ++++++++++
ChangeLog | 1 +
modules/check_mk.py | 6 ------
3 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/.werks/1882 b/.werks/1882
new file mode 100644
index 0000000..a823be3
--- /dev/null
+++ b/.werks/1882
@@ -0,0 +1,10 @@
+Title: Fixed exception "filesystem_levels" not defined when compiling config
for nagios
+Level: 1
+Component: core
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.7i1
+Date: 1422607495
+
+
diff --git a/ChangeLog b/ChangeLog
index 6519cb6..ee3ea26 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,6 +10,7 @@
* 1869 FIX: Deleting outdated persisted agent sections now
* 1919 FIX: cmk --snmpwalk: continue if one of the OIDs to walk fails
* 1880 FIX: inventory_processes rules can now be configured without setting
levels...
+ * 1882 FIX: Fixed exception "filesystem_levels" not defined when compiling
config for nagios
Checks & Agents:
* 1665 agent_netapp: New special agent for NetApp monitoring via Web-API...
diff --git a/modules/check_mk.py b/modules/check_mk.py
index 08a4295..9743053 100755
--- a/modules/check_mk.py
+++ b/modules/check_mk.py
@@ -1796,12 +1796,6 @@ def create_nagios_config(outfile = sys.stdout, hostnames = None):
extra_service_conf["_SERVICE_PERIOD"] =
extra_service_conf["service_period"]
del extra_service_conf["service_period"]
- if filesystem_levels != []:
- raise MKGeneralException("filesystem_levels is not longer
supported.\n"
- "Please use check_parameters instead.\n"
- "Please refer to documentation:\n"
- " -->
http://mathias-kettner.de/checkmk_check_parameters.html\n")
-
output_conf_header(outfile)
if hostnames == None:
hostnames = all_hosts_untagged + all_active_clusters()