diff --git a/html/images/logos/digipower.png b/html/images/logos/digipower.png new file mode 100644 index 000000000000..fbab5ea07124 Binary files /dev/null and b/html/images/logos/digipower.png differ diff --git a/html/images/os/digipower.png b/html/images/os/digipower.png new file mode 100644 index 000000000000..7f1a23f7478b Binary files /dev/null and b/html/images/os/digipower.png differ diff --git a/includes/definitions/digipower.yaml b/includes/definitions/digipower.yaml new file mode 100644 index 000000000000..399d5e159012 --- /dev/null +++ b/includes/definitions/digipower.yaml @@ -0,0 +1,7 @@ +os: digipower +text: 'Digipower' +type: power +over: + - { graph: device_current, text: Current } +discovery: + - sysObjectId: .1.3.6.1.4.1.17420 diff --git a/includes/discovery/sensors/current/digipower.inc.php b/includes/discovery/sensors/current/digipower.inc.php new file mode 100644 index 000000000000..5faccfbabef4 --- /dev/null +++ b/includes/discovery/sensors/current/digipower.inc.php @@ -0,0 +1,15 @@ +checkOS('zyxelnwa'); $this->checkOS('zyxelnwa', 'zyxelnwa1'); } + + public function testDigipower() + { + $this->checkOS('digipower'); + } } diff --git a/tests/snmpsim/digipower.snmprec b/tests/snmpsim/digipower.snmprec new file mode 100644 index 000000000000..873afbd6e853 --- /dev/null +++ b/tests/snmpsim/digipower.snmprec @@ -0,0 +1,2 @@ +1.3.6.1.2.1.1.1.0|4|Switched PDU +1.3.6.1.2.1.1.2.0|6|.1.3.6.1.4.1.17420