apc smart ups support (#4622)

This commit is contained in:
crcro
2016-09-27 22:20:10 +03:00
committed by Neil Lathwood
parent 74a8822034
commit 904e7a86a1
3 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,7 @@ $apc_desc = array(
'APC Switched Rack PDU', 'APC Switched Rack PDU',
'APC MasterSwitch PDU', 'APC MasterSwitch PDU',
'APC Metered Rack PDU', 'APC Metered Rack PDU',
'APC Embedded PowerNet',
); );
if (str_contains($sysDescr, $apc_desc)) { if (str_contains($sysDescr, $apc_desc)) {

View File

@ -147,6 +147,7 @@ class DiscoveryTest extends \PHPUnit_Framework_TestCase
$this->checkOS('apc', 'apc-switched-rack'); $this->checkOS('apc', 'apc-switched-rack');
$this->checkOS('apc', 'apc-masterswitch'); $this->checkOS('apc', 'apc-masterswitch');
$this->checkOS('apc', 'apc-metered-rack'); $this->checkOS('apc', 'apc-metered-rack');
$this->checkOS('apc', 'apc-embedded-powernet');
} }
public function testAreca() public function testAreca()

View File

@ -0,0 +1 @@
1.3.6.1.2.1.1.1.0|4|APC Embedded PowerNet SNMP Agent (FW v3.0.1 SW v2.2.4.a, HW B2, MOD: AP9605, Mfg: 04/02/1998, SN: WA9814786862)