Module: check_mk
Branch: master
Commit: ce996edd735abca2e9c59cab156c5f8a11764388
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ce996edd735abc…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Dec 12 15:22:25 2014 +0100
#1763 FIX diskstat: Fixed error in config example of manpage
---
.werks/1763 | 10 ++++++++++
ChangeLog | 1 +
checkman/diskstat | 1 +
3 files changed, 12 insertions(+)
diff --git a/.werks/1763 b/.werks/1763
new file mode 100644
index 0000000..44794df
--- /dev/null
+++ b/.werks/1763
@@ -0,0 +1,10 @@
+Title: diskstat: Fixed error in config example of manpage
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.7i1
+Date: 1418394125
+
+
diff --git a/ChangeLog b/ChangeLog
index ef8d08a..66d5929 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,7 @@
* 1457 FIX: logins: new check renamed from "users" check...
NOTE: Please refer to the migration notes!
* 1762 FIX: lnx_thermal: Now ignoring trip points with level 0...
+ * 1763 FIX: diskstat: Fixed error in config example of manpage
Multisite:
* 1758 Improved exception hander: Shows details without additional debug request,
added mailto link for error report...
diff --git a/checkman/diskstat b/checkman/diskstat
index 4d47693..292d5b3 100644
--- a/checkman/diskstat
+++ b/checkman/diskstat
@@ -83,6 +83,7 @@ examples:
# Then configure levels for 50/90MB/s read IO over 10 Minutes and a bit less for
# writes. Next put levels on IO latency exceeding 80ms / 160ms.
+ checkgroup_parameters.setdefault('disk_io', [])
checkgroup_parameters['disk_io'] += [
( {'read': (50.0, 90.0), 'write': (40.0, 60.0), 'average': 10,
'latency_perfdata': True, 'latency': (80.0, 160.0)}, [], ALL_HOSTS,
ALL_SERVICES ),
]