Merge pull request #4064 from adaniels21487/issue-4061

OS Support for Acano collaboration appliances
This commit is contained in:
Tony Murray
2016-08-15 20:48:06 -05:00
committed by GitHub
3 changed files with 24 additions and 0 deletions

View File

@ -574,6 +574,16 @@ $config['os'][$os]['over'][4]['graph'] = 'device_ciscowlc_numclients';
$config['os'][$os]['over'][4]['text'] = 'Number of Clients';
$config['os'][$os]['icon'] = 'cisco';
$os = 'acano';
$config['os'][$os]['group'] = 'cisco';
$config['os'][$os]['text'] = 'Acano OS';
$config['os'][$os]['type'] = 'collaboration';
$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'] = 'CPU Usage';
$config['os'][$os]['icon'] = 'cisco';
$os = 'waas';
$config['os'][$os]['group'] = 'cisco';
$config['os'][$os]['text'] = 'Cisco WAAS';

View File

@ -0,0 +1,7 @@
<?php
if (!$os) {
if ( (strstr($sysObjectId, '1.3.6.1.4.1.8072.3.2.10')) && (strstr($sysDescr, 'Acano')) ) {
$os = 'acano';
}
}

View File

@ -0,0 +1,7 @@
<?php
if (preg_match('/Acano Server ([^,]+)/', $device['sysDescr'], $regexp_result)) {
$version = $regexp_result[1];
} else {
$version = '';
}