Files
librenms-librenms/includes/discovery/os/apc.inc.php

16 lines
260 B
PHP
Raw Normal View History

<?php
$apc_desc = array(
'APC Web/SNMP Management Card',
'APC Switched Rack PDU',
'APC MasterSwitch PDU',
'APC Metered Rack PDU',
2016-09-27 22:20:10 +03:00
'APC Embedded PowerNet',
);
if (str_contains($sysDescr, $apc_desc)) {
$os = 'apc';
}
unset($apc_desc);