Module: check_mk
Branch: master
Commit: d7479f957fbf2b3b585a555b7cabf1753422de8b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d7479f957fbf2b…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Mon Sep 19 11:55:02 2016 +0200
added some comments to snmp info
---
checks/apc_symmetra_power | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/checks/apc_symmetra_power b/checks/apc_symmetra_power
index f12b8f8..53b8ab7 100644
--- a/checks/apc_symmetra_power
+++ b/checks/apc_symmetra_power
@@ -57,6 +57,9 @@ check_info["apc_symmetra_power"] = {
'service_description': 'Power phase %s',
'has_perfdata': True,
'group': 'apc_power',
- 'snmp_info': ('.1.3.6.1.4.1.318.1.1.1.9.3.3.1',
['2.1.1', '7.1.1']),
+ 'snmp_info': ('.1.3.6.1.4.1.318.1.1.1.9.3.3.1', [
+ '2.1.1', #
PowerNet-MIB::upsPhaseOutputPhaseIndex
+ '7.1.1', #
PowerNet-MIB::upsPhaseOutputLoad
+ ]),
'snmp_scan_function': lambda oid:
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.318.1.3"),
}