diff --git a/html/images/logos/cyberpower.svg b/html/images/logos/cyberpower.svg
new file mode 100644
index 0000000000..dcb782c73a
--- /dev/null
+++ b/html/images/logos/cyberpower.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/html/images/os/cyberpower.svg b/html/images/os/cyberpower.svg
new file mode 100644
index 0000000000..791c05322b
--- /dev/null
+++ b/html/images/os/cyberpower.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/includes/definitions/cyberpower.yaml b/includes/definitions/cyberpower.yaml
new file mode 100644
index 0000000000..fa117f57ad
--- /dev/null
+++ b/includes/definitions/cyberpower.yaml
@@ -0,0 +1,13 @@
+os: cyberpower
+text: 'Cyberpower'
+type: power
+icon: cyberpower
+over:
+ - { graph: device_current, text: Current }
+ - { graph: device_voltage, text: Voltage }
+discovery:
+ - sysObjectId: .1.3.6.1.4.1.3808.1.1.3
+poller_modules:
+ ports: 0
+discovery_modules:
+ ports: 0
diff --git a/includes/discovery/sensors/current/cyberpower.inc.php b/includes/discovery/sensors/current/cyberpower.inc.php
new file mode 100644
index 0000000000..dd72853228
--- /dev/null
+++ b/includes/discovery/sensors/current/cyberpower.inc.php
@@ -0,0 +1,15 @@
+checkOS('cyberoam-utm');
}
+ public function testCyberpower()
+ {
+ $this->checkOS('cyberpower');
+ }
+
public function testDasanNos()
{
$this->checkOS('dasan-nos');
@@ -542,6 +547,11 @@ class DiscoveryTest extends \PHPUnit_Framework_TestCase
$this->checkOS('developprinter');
}
+ public function testDigipower()
+ {
+ $this->checkOS('digipower');
+ }
+
public function testDlinkap()
{
$this->checkOS('dlinkap');
@@ -1759,9 +1769,4 @@ class DiscoveryTest extends \PHPUnit_Framework_TestCase
$this->checkOS('zyxelnwa');
$this->checkOS('zyxelnwa', 'zyxelnwa1');
}
-
- public function testDigipower()
- {
- $this->checkOS('digipower');
- }
}
diff --git a/tests/snmpsim/cyberpower.snmprec b/tests/snmpsim/cyberpower.snmprec
new file mode 100644
index 0000000000..97f2f615e2
--- /dev/null
+++ b/tests/snmpsim/cyberpower.snmprec
@@ -0,0 +1,2 @@
+1.3.6.1.2.1.1.1.0|4|Power Manager
+1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.3808.1.1.3