Module: check_mk
Branch: master
Commit: cce8fa3acb161b40923d82049b8b531a0afd87e8
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=cce8fa3acb161b…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Thu Sep 4 18:47:50 2014 +0200
winperf_msx_queues: Hopefully the last fix now
---
checks/winperf_msx_queues | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/checks/winperf_msx_queues b/checks/winperf_msx_queues
index 6d75d98..ee78352 100644
--- a/checks/winperf_msx_queues
+++ b/checks/winperf_msx_queues
@@ -57,7 +57,7 @@
msx_queues_default_levels = (500, 2000)
# Default warn/crit levels for length of queues
-factory_settings['winperf_msx_queues'] = {
+factory_settings['winperf_msx_queues_factory'] = {
'levels': ( 500, 2000 ),
}
@@ -92,7 +92,6 @@ def check_winperf_msx_queues(item, params, info):
if num_instances < 1:
return (3, "no counters available, transport service running?")
-
# Old default case:
if type(params) == tuple:
warn, crit = params
@@ -126,6 +125,6 @@ check_info["winperf_msx_queues"] = {
'inventory_function': inventory_winperf_msx_queues,
'service_description': 'Queue %s',
'has_perfdata': True,
- "default_levels_variable" : "winperf_msx_queues",
+ "default_levels_variable" : "winperf_msx_queues_factory",
'group': 'msx_queues',
}