From ba45d5eba5d378500ae5c0611cad97e087c5477c Mon Sep 17 00:00:00 2001 From: cenjui <72947048+cenjui@users.noreply.github.com> Date: Thu, 28 Oct 2021 16:15:59 +0100 Subject: [PATCH] Add APC PowerChute sysObjectID (#13406) * Update apc.yaml Added sysObjectID: .1.3.6.1.4.1.318.1 to apc.yaml definition rules to allow the discovery of UPS' that are connected to Power Chute Business edition hosts. (Tony Murray you were right & YAML hates me!). * Create apc_powerchute.snmprec Co-authored-by: Tony Murray --- includes/definitions/apc.yaml | 3 +++ tests/snmpsim/apc_powerchute.snmprec | 28 ++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 tests/snmpsim/apc_powerchute.snmprec diff --git a/includes/definitions/apc.yaml b/includes/definitions/apc.yaml index 07ef2d6b96..dffd285ed2 100644 --- a/includes/definitions/apc.yaml +++ b/includes/definitions/apc.yaml @@ -17,3 +17,6 @@ discovery: - APC InRow DX - APC Uniflair SP - APC InfraStruXure ATS + - + sysObjectID: + - .1.3.6.1.4.1.318.1 diff --git a/tests/snmpsim/apc_powerchute.snmprec b/tests/snmpsim/apc_powerchute.snmprec new file mode 100644 index 0000000000..744a178e87 --- /dev/null +++ b/tests/snmpsim/apc_powerchute.snmprec @@ -0,0 +1,28 @@ +1.3.6.1.2.1.1.1.0|4|PowerChute Business Edition +1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.318.1.3.33.1 +1.3.6.1.2.1.1.3.0|67|33637901 +1.3.6.1.2.1.1.4.0|4| +1.3.6.1.2.1.1.5.0|4| +1.3.6.1.2.1.1.6.0|4| +1.3.6.1.2.1.11.1.0|65|119194 +1.3.6.1.2.1.11.3.0|65|0 +1.3.6.1.2.1.11.4.0|65|0 +1.3.6.1.2.1.11.5.0|65|0 +1.3.6.1.2.1.11.6.0|65|0 +1.3.6.1.2.1.11.31.0|65|0 +1.3.6.1.2.1.11.32.0|65|0 +1.3.6.1.4.1.318.1.1.1.1.1.1.0|4|Smart-UPS 1000 +1.3.6.1.4.1.318.1.1.1.1.2.1.0|4|UPS 08.3 / MCU 14.0 (18 - 10) +1.3.6.1.4.1.318.1.1.1.1.2.3.0|4|AS1322126155 +1.3.6.1.4.1.318.1.1.1.2.2.1.0|66|100 +1.3.6.1.4.1.318.1.1.1.2.2.2.0|66|21 +1.3.6.1.4.1.318.1.1.1.2.2.3.0|67|756000 +1.3.6.1.4.1.318.1.1.1.2.2.4.0|2|1 +1.3.6.1.4.1.318.1.1.1.2.2.8.0|2|27 +1.3.6.1.4.1.318.1.1.1.3.2.1.0|66|244 +1.3.6.1.4.1.318.1.1.1.3.2.4.0|66|50 +1.3.6.1.4.1.318.1.1.1.4.1.1.0|2|2 +1.3.6.1.4.1.318.1.1.1.4.2.1.0|66|244 +1.3.6.1.4.1.318.1.1.1.4.2.2.0|66|50 +1.3.6.1.4.1.318.1.1.1.4.2.3.0|66|31 +1.3.6.1.6.3.10.2.1.3.0|2|336379