Add support for Kemp CPU (#5673)

This commit is contained in:
David Bell
2017-01-30 15:49:11 +00:00
committed by Neil Lathwood
parent b0fa0a10e6
commit 7fa6bb5c57

View File

@@ -2,7 +2,7 @@
$count = dbFetchCell("SELECT COUNT(*) FROM `processors` WHERE `device_id` = ? AND `processor_type` != 'ucd-old'", array($device['device_id']));
if ($device['os_group'] == 'unix' && $count == '0') {
if (($device['os_group'] == 'unix' && $count == '0') || $device['os'] === 'kemp') {
echo 'UCD Old: ';
$system = snmp_get($device, 'ssCpuSystem.0', '-OvQ', 'UCD-SNMP-MIB');