librenms/includes/discovery/os/apc.inc.php
2015-07-11 16:12:35 +02:00

17 lines
350 B
PHP

<?php
if (!$os) {
if (strstr($sysDescr, 'APC Web/SNMP Management Card')) {
$os = 'apc';
}
if (strstr($sysDescr, 'APC Switched Rack PDU')) {
$os = 'apc';
}
if (strstr($sysDescr, 'APC MasterSwitch PDU')) {
$os = 'apc';
}
if (strstr($sysDescr, 'APC Metered Rack PDU')) {
$os = 'apc';
}
}