Module: check_mk
Branch: master
Commit: 1e465c0c16919e0d05a6c27c4e959f9b381b4fa7
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1e465c0c16919e…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Thu Jul 31 16:31:55 2014 +0200
docsis_channels: Changed check style
---
checkman/{docsis_channels.downstream => docsis_channels_downstream} | 0
checks/{docsis_channels => docsis_channels_downstream} | 2 +-
web/plugins/perfometer/check_mk.py | 2 +-
3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/checkman/docsis_channels.downstream b/checkman/docsis_channels_downstream
similarity index 100%
rename from checkman/docsis_channels.downstream
rename to checkman/docsis_channels_downstream
diff --git a/checks/docsis_channels b/checks/docsis_channels_downstream
similarity index 98%
rename from checks/docsis_channels
rename to checks/docsis_channels_downstream
index 4872255..4669f3a 100644
--- a/checks/docsis_channels
+++ b/checks/docsis_channels_downstream
@@ -53,7 +53,7 @@ def check_docsis_channels_downstream( item, params, info):
return state, infotext, perfdata
# This Check is a subcheck because there is also a upstream version possible
-check_info["docsis_channels.downstream"] = {
+check_info["docsis_channels_downstream"] = {
"check_function" : check_docsis_channels_downstream,
"inventory_function" : inventory_docsis_channels_downstream,
"service_description" : "Channel Downstream %s",
diff --git a/web/plugins/perfometer/check_mk.py b/web/plugins/perfometer/check_mk.py
index d3bec82..c715433 100644
--- a/web/plugins/perfometer/check_mk.py
+++ b/web/plugins/perfometer/check_mk.py
@@ -1139,6 +1139,6 @@ def perfometer_mhz( row, check_command, perf_data ):
mhz_current = int(perf_data[0][1])
return str(mhz_current) + " Mhz", perfometer_logarithmic(mhz_current, 50,
2, "#da6")
-perfometers["check_mk-docsis_channels.downstream"] = perfometer_mhz
+perfometers["check_mk-docsis_channels_downstream"] = perfometer_mhz