From 94abddcd1b6b5d0ab288bfd593a24f5de63d9056 Mon Sep 17 00:00:00 2001 From: Neil Lathwood Date: Wed, 11 Apr 2018 13:58:00 +0100 Subject: [PATCH] device: Updated buffalo OS detection (#8536) --- includes/definitions/buffalo.yaml | 4 ++-- tests/snmpsim/buffalo_ts3410r.snmprec | 2 ++ tests/snmpsim/buffalo_ts5410r.snmprec | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 tests/snmpsim/buffalo_ts3410r.snmprec create mode 100644 tests/snmpsim/buffalo_ts5410r.snmprec diff --git a/includes/definitions/buffalo.yaml b/includes/definitions/buffalo.yaml index e36aab8b5c..582a2bbe8f 100644 --- a/includes/definitions/buffalo.yaml +++ b/includes/definitions/buffalo.yaml @@ -5,5 +5,5 @@ icon: buffalo over: - { graph: device_bits, text: 'Device Traffic' } discovery: - - sysDescr: - - BUFFALO TeraStation + - sysDescr_regex: + - '/^BUFFALO /' diff --git a/tests/snmpsim/buffalo_ts3410r.snmprec b/tests/snmpsim/buffalo_ts3410r.snmprec new file mode 100644 index 0000000000..27435601b8 --- /dev/null +++ b/tests/snmpsim/buffalo_ts3410r.snmprec @@ -0,0 +1,2 @@ +1.3.6.1.2.1.1.1.0|4|BUFFALO \"TeraStation\" \"TS3410R Ver.4.00 (2018/02/15 11:16:39) +1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.8072.3.2.10 diff --git a/tests/snmpsim/buffalo_ts5410r.snmprec b/tests/snmpsim/buffalo_ts5410r.snmprec new file mode 100644 index 0000000000..8b1f804728 --- /dev/null +++ b/tests/snmpsim/buffalo_ts5410r.snmprec @@ -0,0 +1,2 @@ +1.3.6.1.2.1.1.1.0|4|BUFFALO "TeraStation" "TS5410R Ver.3.40 (2017/09/07 15:07:40) +1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.8072.3.2.10