Added Sophos detection

This commit is contained in:
laf
2016-05-02 12:49:03 +00:00
parent da4d03c3c2
commit 7fe4957669
4 changed files with 1094 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

+11
View File
@@ -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';
+2
View File
@@ -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
View File
File diff suppressed because it is too large Load Diff