From ba6a85e6873dc6d5d925d71e6c5159e05933dcd5 Mon Sep 17 00:00:00 2001 From: Neil Lathwood Date: Tue, 7 Feb 2017 08:11:16 +0000 Subject: [PATCH] newdevice: Added support for Fujitsu NAS devices #5309 --- includes/definitions/celvin.yaml | 11 +++++++++++ tests/OSDiscoveryTest.php | 5 +++++ tests/snmpsim/celvin.snmprec | 1 + 3 files changed, 17 insertions(+) create mode 100644 includes/definitions/celvin.yaml create mode 100644 tests/snmpsim/celvin.snmprec diff --git a/includes/definitions/celvin.yaml b/includes/definitions/celvin.yaml new file mode 100644 index 000000000000..e2d96becf7be --- /dev/null +++ b/includes/definitions/celvin.yaml @@ -0,0 +1,11 @@ +os: celvin +text: Fujitsu NAS +type: storage +icon: fujitsu +over: + - { graph: device_bits, text: 'Device Traffic' } + - { graph: device_processor, text: 'CPU Usage' } + - { graph: device_mempool, text: 'Memory Usage' } +discovery: + - sysObjectId: + - .1.3.6.1.6.3.11.2.3.1.1 diff --git a/tests/OSDiscoveryTest.php b/tests/OSDiscoveryTest.php index 119cf582e8b9..50de2dcb5aa4 100644 --- a/tests/OSDiscoveryTest.php +++ b/tests/OSDiscoveryTest.php @@ -337,6 +337,11 @@ public function testCeraos() $this->checkOS('ceraos'); } + public function testCelvin() + { + $this->checkOS('celvin'); + } + public function testCimc() { $this->checkOS('cimc'); diff --git a/tests/snmpsim/celvin.snmprec b/tests/snmpsim/celvin.snmprec new file mode 100644 index 000000000000..d04bfbcc5fd6 --- /dev/null +++ b/tests/snmpsim/celvin.snmprec @@ -0,0 +1 @@ +1.3.6.1.2.1.1.2.0|6|1.3.6.1.6.3.11.2.3.1.1 \ No newline at end of file