From b4af9197ba433f4379e1e229f3402725390b18ea Mon Sep 17 00:00:00 2001 From: Aldemir Akpinar Date: Sun, 1 Oct 2017 18:19:46 +0000 Subject: [PATCH] newdevice: Added basic detection for hanwha techwin devices (#7397) * Basic hanwha techwin support * Changed os type to iPolis * Changed file names to ipolis rather than the vendor name * oid fixes --- html/images/logos/hanwhatechwin.svg | 1 + html/images/os/hanwhatechwin.svg | 1 + includes/definitions/ipolis.yaml | 9 +++++++++ tests/snmpsim/ipolis.snmprec | 2 ++ 4 files changed, 13 insertions(+) create mode 100644 html/images/logos/hanwhatechwin.svg create mode 100644 html/images/os/hanwhatechwin.svg create mode 100644 includes/definitions/ipolis.yaml create mode 100644 tests/snmpsim/ipolis.snmprec diff --git a/html/images/logos/hanwhatechwin.svg b/html/images/logos/hanwhatechwin.svg new file mode 100644 index 0000000000..bc0cf13d44 --- /dev/null +++ b/html/images/logos/hanwhatechwin.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/html/images/os/hanwhatechwin.svg b/html/images/os/hanwhatechwin.svg new file mode 100644 index 0000000000..bc0cf13d44 --- /dev/null +++ b/html/images/os/hanwhatechwin.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/includes/definitions/ipolis.yaml b/includes/definitions/ipolis.yaml new file mode 100644 index 0000000000..c1e63ff5ac --- /dev/null +++ b/includes/definitions/ipolis.yaml @@ -0,0 +1,9 @@ +os: ipolis +text: 'Hanwha Techwin' +type: camera +icon: hanwhatechwin +over: + - { graph: device_bits, text: 'Device Traffic' } +discovery: + - sysObjectId: + - .1.3.6.1.4.1.36849.1.2. diff --git a/tests/snmpsim/ipolis.snmprec b/tests/snmpsim/ipolis.snmprec new file mode 100644 index 0000000000..fe6a27da33 --- /dev/null +++ b/tests/snmpsim/ipolis.snmprec @@ -0,0 +1,2 @@ +1.3.6.1.2.1.1.1.0|4|SAMSUNG iPolis H.264 Premium Level IP Camera +1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.36849.1.2.91