mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
newdevice: Added additional support for Synology dsm (#5145)
This commit is contained in:
@@ -7,6 +7,10 @@ if (starts_with($sysDescr, 'Linux')) {
|
||||
'syno_dyn_module',
|
||||
);
|
||||
|
||||
if (snmp_get($device, 'systemStatus.0', '-Osqnv', 'SYNOLOGY-SYSTEM-MIB', 'synology')) {
|
||||
$os = 'dsm';
|
||||
}
|
||||
|
||||
if (str_contains(snmp_get($device, 'HOST-RESOURCES-MIB::hrSystemInitialLoadParameters.0', '-Osqnv'), $init_params)) {
|
||||
$os = 'dsm';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user