mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
add cisco smb linux (just linux, but with cisco logo)
git-svn-id: http://www.observium.org/svn/observer/trunk@2897 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -14,7 +14,7 @@ if (!$os)
|
||||
if (strpos($entPhysicalMfgName, "QNAP") !== FALSE) { $os = "qnap";}
|
||||
elseif(strstr($sysObjectId, ".1.3.6.1.4.1.5528.100.20.10.2014")) { $os = "netbotz"; }
|
||||
elseif(strstr($sysDescr, "endian")) { $os = "endian"; }
|
||||
|
||||
elseif(preg_match("/Cisco Small Business/", $sysDescr)) { $os = "ciscosmblinux"; }
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -66,6 +66,17 @@ $config['os'][$os]['over'][1]['text'] = "Processor Usage";
|
||||
$config['os'][$os]['over'][2]['graph'] = "device_mempool";
|
||||
$config['os'][$os]['over'][2]['text'] = "Memory Usage";
|
||||
|
||||
$os = "ciscosmblinux";
|
||||
$config['os'][$os]['type'] = "wireless";
|
||||
$config['os'][$os]['group'] = "unix";
|
||||
$config['os'][$os]['text'] = "Cisco SMB Linux";
|
||||
$config['os'][$os]['icon'] = "cisco";
|
||||
$config['os'][$os]['over'][0]['graph'] = "device_bits";
|
||||
$config['os'][$os]['over'][0]['text'] = "Device Traffic";
|
||||
$config['os'][$os]['over'][1]['graph'] = "device_processor";
|
||||
$config['os'][$os]['over'][1]['text'] = "Processor Usage";
|
||||
$config['os'][$os]['over'][2]['graph'] = "device_mempool";
|
||||
$config['os'][$os]['over'][2]['text'] = "Memory Usage";
|
||||
|
||||
### Other Unix-based OSes here please.
|
||||
|
||||
|
Reference in New Issue
Block a user