mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-09 00:12:58 +02:00
Added Sophos detection
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
@@ -1035,6 +1035,17 @@ $config['os'][$os]['over'][0]['graph'] = 'device_bits';
|
||||
$config['os'][$os]['over'][0]['text'] = 'Traffic';
|
||||
$config['os'][$os]['icon'] = 'zyxel';
|
||||
|
||||
$os = 'sophos';
|
||||
$config['os'][$os]['text'] = 'Sophos UTM Firewall';
|
||||
$config['os'][$os]['type'] = 'firewall';
|
||||
$config['os'][$os]['icon'] = 'sophos';
|
||||
$config['os'][$os]['over'][0]['graph'] = 'device_bits';
|
||||
$config['os'][$os]['over'][0]['text'] = 'Traffic';
|
||||
$config['os'][$os]['over'][1]['graph'] = 'device_processor';
|
||||
$config['os'][$os]['over'][1]['text'] = 'CPU Usage';
|
||||
$config['os'][$os]['over'][2]['graph'] = 'device_mempool';
|
||||
$config['os'][$os]['over'][2]['text'] = 'Memory Usage';
|
||||
|
||||
$os = 'prestige';
|
||||
$config['os'][$os]['text'] = 'ZyXEL Prestige';
|
||||
$config['os'][$os]['type'] = 'network';
|
||||
|
||||
@@ -68,6 +68,8 @@ if (!$os) {
|
||||
elseif (stristr($sysObjectId, 'cumulusMib') || strstr($sysObjectId, '.1.3.6.1.4.1.40310')) {
|
||||
$os = 'cumulus';
|
||||
}
|
||||
elseif (strstr($sysObjectId, '.1.3.6.1.4.1.8072.3.2.10')) {
|
||||
$os = 'sophos';
|
||||
else {
|
||||
// Check for Synology DSM
|
||||
$hrSystemInitialLoadParameters = trim(snmp_get($device, 'HOST-RESOURCES-MIB::hrSystemInitialLoadParameters.0', '-Osqnv'));
|
||||
|
||||
+1081
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user