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

10 lines
199 B
PHP

<?php
if (!$os) {
if ($sysDescr == '') {
if (snmp_get($device, 'GAMATRONIC-MIB::psUnitManufacture.0', '-Oqv', '') == 'Gamatronic') {
$os = 'gamatronicups';
}
}
}