Module: check_mk
Branch: master
Commit: 926d0ccfc206fe5dc2b9280186e3668c7f2e308d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=926d0ccfc206fe…
Author: Sebastian Herbord <sh(a)mathias-kettner.de>
Date: Wed Sep 9 12:04:16 2015 +0200
dell_om_vdisks: fixed naming
---
agents/plugins/mk_omreport | 2 +-
checks/dell_om_vdisks | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/agents/plugins/mk_omreport b/agents/plugins/mk_omreport
index fb84fc5..b97dfbe 100755
--- a/agents/plugins/mk_omreport
+++ b/agents/plugins/mk_omreport
@@ -25,6 +25,6 @@
if which omreport >/dev/null
then
- echo "<<<omreport_vdisk>>>"
+ echo "<<<dell_om_vdisks>>>"
omreport storage vdisk
fi
diff --git a/checks/dell_om_vdisks b/checks/dell_om_vdisks
index 5158137..83fa1b6 100644
--- a/checks/dell_om_vdisks
+++ b/checks/dell_om_vdisks
@@ -48,11 +48,11 @@
# Disk Cache Policy : Unchanged
-def inventory_omreport_vdisk(parsed):
+def inventory_dell_om_vdisks(parsed):
return [(key, None) for key in parsed.keys()]
-def check_omreport_vdisk(item, params, parsed):
+def check_dell_om_vdisks(item, params, parsed):
if item in parsed:
status = status_translate_omreport(parsed[item]["Status"])
if parsed[item]["State"] != "Ready":
@@ -63,9 +63,9 @@ def check_omreport_vdisk(item, params, parsed):
parsed[item]["State"], parsed[item]["Layout"])
-check_info["omreport_vdisk"] = {
- "check_function" : check_omreport_vdisk,
- "inventory_function" : inventory_omreport_vdisk,
+check_info["dell_om_vdisks"] = {
+ "check_function" : check_dell_om_vdisks,
+ "inventory_function" : inventory_dell_om_vdisks,
"parse_function" : parse_omreport,
"service_description" : "Virtual Disk %s",
"includes" : ["dell_om.include"]