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:
Adam Amstrong
2012-03-16 10:57:02 +00:00
parent 34c4793265
commit 305dc9ad29
2 changed files with 12 additions and 1 deletions

View File

@@ -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"; }
}
}

View File

@@ -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.