mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Add support for Kemp CPU (#5673)
This commit is contained in:
committed by
Neil Lathwood
parent
b0fa0a10e6
commit
7fa6bb5c57
@@ -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');
|
||||
|
Reference in New Issue
Block a user