From 94a7cbce8daf8f99efd2b7629fd8d1499a6f387a Mon Sep 17 00:00:00 2001 From: rolandsteinmeyer <38663258+rolandsteinmeyer@users.noreply.github.com> Date: Wed, 1 Aug 2018 07:41:39 +0200 Subject: [PATCH] Also works for HP 1910-8G-PoE+ (65W) Switch --- check_mk/hh3c_entity/checks/hh3c_entity_cpu | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/check_mk/hh3c_entity/checks/hh3c_entity_cpu b/check_mk/hh3c_entity/checks/hh3c_entity_cpu index 93aa2262e..536a29bdf 100644 --- a/check_mk/hh3c_entity/checks/hh3c_entity_cpu +++ b/check_mk/hh3c_entity/checks/hh3c_entity_cpu @@ -95,8 +95,9 @@ check_info['hh3c_entity_cpu'] = { 'check_function' : check_hh3c_entity_cpu, 'inventory_function' : inventory_hh3c_entity_cpu, 'service_description' : "CPU utilization", - 'snmp_scan_function' : lambda oid: 'Comware Platform Software' in oid('.1.3.6.1.2.1.1.1.0') and \ - oid('.1.3.6.1.4.1.25506.2.6.1.1.1.1.6.1') != None, + 'snmp_scan_function' : lambda oid: ('Comware Platform Software' in oid('.1.3.6.1.2.1.1.1.0') and \ + oid('.1.3.6.1.4.1.25506.2.6.1.1.1.1.8.1') != None) or ( + ('1910' in oid('.1.3.6.1.2.1.1.1.0'))) , 'snmp_info' : ( '.1.3.6.1', ['2.1.47.1.1.1.1.2', '4.1.25506.2.6.1.1.1.1.6'] ), 'has_perfdata' : True, 'includes' : [ 'hh3c_entity.include' ],