Module: check_mk
Branch: master
Commit: a51e32af645b2113050880cdce580eeaba82cc3f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a51e32af645b21…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Aug 27 11:36:51 2015 +0200
fjdarye101_disks.summary: Removed check from check group "raid_disk" (it is a
summary check using other parameters)
---
checks/fjdarye101_disks | 18 +++++++++---------
checks/fjdarye60_disks | 18 +++++++++---------
2 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/checks/fjdarye101_disks b/checks/fjdarye101_disks
index 6a2cc9f..dd097f2 100644
--- a/checks/fjdarye101_disks
+++ b/checks/fjdarye101_disks
@@ -24,22 +24,22 @@
# to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
# Boston, MA 02110-1301 USA.
-check_info["fjdarye101_disks"] = {
+
+check_info["fjdarye101_disks.summary"] = {
'includes' : [ "fjdarye.include"],
- 'check_function' : check_fjdarye_disks,
- 'inventory_function' : inventory_fjdarye_disks,
- 'service_description' : 'Disk %s',
+ 'check_function' : check_fjdarye_disks_summary,
+ 'inventory_function' : inventory_fjdarye_disks_summary,
+ 'service_description' : 'Disk summary',
'snmp_info' : ('.1.3.6.1.4.1.211.1.21.1.101.2.12.2.1',
[1, 3]),
'snmp_scan_function' : \
lambda oid: oid(".1.3.6.1.2.1.1.2.0") ==
".1.3.6.1.4.1.211.1.21.1.101",
- 'group' : 'raid_disk',
}
-check_info["fjdarye101_disks.summary"] = {
+check_info["fjdarye101_disks"] = {
'includes' : [ "fjdarye.include"],
- 'check_function' : check_fjdarye_disks_summary,
- 'inventory_function' : inventory_fjdarye_disks_summary,
- 'service_description' : 'Disk summary',
+ 'check_function' : check_fjdarye_disks,
+ 'inventory_function' : inventory_fjdarye_disks,
+ 'service_description' : 'Disk %s',
'snmp_info' : ('.1.3.6.1.4.1.211.1.21.1.101.2.12.2.1',
[1, 3]),
'snmp_scan_function' : \
lambda oid: oid(".1.3.6.1.2.1.1.2.0") ==
".1.3.6.1.4.1.211.1.21.1.101",
diff --git a/checks/fjdarye60_disks b/checks/fjdarye60_disks
index c4cc4f3..b377705 100644
--- a/checks/fjdarye60_disks
+++ b/checks/fjdarye60_disks
@@ -34,21 +34,21 @@ check_includes['fjdarye60_disks.summary'] =
["fjdarye.include"]
check_includes['fjdarye60_disks'] = ["fjdarye.include"]
-check_info["fjdarye60_disks"] = {
- 'check_function': check_fjdarye_disks,
- 'inventory_function': inventory_fjdarye_disks,
- 'service_description': 'Disk %s',
+check_info["fjdarye60_disks.summary"] = {
+ 'check_function': check_fjdarye_disks_summary,
+ 'inventory_function': inventory_fjdarye_disks_summary,
+ 'service_description': 'Disk summary',
'snmp_info': ('.1.3.6.1.4.1.211.1.21.1.60.2.12.2.1',
[1, 3]),
'snmp_scan_function': \
lambda oid: oid(".1.3.6.1.2.1.1.2.0") ==
".1.3.6.1.4.1.211.1.21.1.60",
- 'group': 'raid_disk',
}
-check_info["fjdarye60_disks.summary"] = {
- 'check_function': check_fjdarye_disks_summary,
- 'inventory_function': inventory_fjdarye_disks_summary,
- 'service_description': 'Disk summary',
+check_info["fjdarye60_disks"] = {
+ 'check_function': check_fjdarye_disks,
+ 'inventory_function': inventory_fjdarye_disks,
+ 'service_description': 'Disk %s',
'snmp_info': ('.1.3.6.1.4.1.211.1.21.1.60.2.12.2.1',
[1, 3]),
'snmp_scan_function': \
lambda oid: oid(".1.3.6.1.2.1.1.2.0") ==
".1.3.6.1.4.1.211.1.21.1.60",
+ 'group': 'raid_disk',
}