From 01477a15f49be7f798c9babafede913ba515f483 Mon Sep 17 00:00:00 2001 From: Tony Murray Date: Sat, 15 Apr 2017 02:10:59 -0500 Subject: [PATCH] refactor: move cometsystem-p85xx (#6427) Read mibs to find the correct sysObjectID --- includes/definitions/cometsystem-p85xx.yaml | 2 ++ tests/snmpsim/cometsystem-p85xx.snmprec | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/includes/definitions/cometsystem-p85xx.yaml b/includes/definitions/cometsystem-p85xx.yaml index 8d5ec4377e..7f8f9374f8 100644 --- a/includes/definitions/cometsystem-p85xx.yaml +++ b/includes/definitions/cometsystem-p85xx.yaml @@ -4,3 +4,5 @@ type: environment icon: comet over: - { graph: device_temperature, text: temperature } +discovery: + - sysObjectId: .1.3.6.1.4.1.22626.1.5 diff --git a/tests/snmpsim/cometsystem-p85xx.snmprec b/tests/snmpsim/cometsystem-p85xx.snmprec index ed16e6d548..aebf4ad543 100644 --- a/tests/snmpsim/cometsystem-p85xx.snmprec +++ b/tests/snmpsim/cometsystem-p85xx.snmprec @@ -1,2 +1,3 @@ -1.3.6.1.2.1.1.1.0|4|Something Firmware Version 10-11-12 Something +1.3.6.1.2.1.1.1.0|4|Sensor - fw 4-5-7.x +1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.22626.1.5 1.3.6.1.4.1.22626.1.5.2.1.3.0|2|1