- OS Support for Acano collaboration appliances

This commit is contained in:
Aaron Daniels
2016-08-15 16:52:34 +10:00
parent f9ba459e08
commit d41117e48b
3 changed files with 24 additions and 0 deletions
+10
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';
+7
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';
}
}
+7
View File
@@ -0,0 +1,7 @@
<?php
if (preg_match('/Acano Server ([^,]+)/', $device['sysDescr'], $regexp_result)) {
$version = $regexp_result[1];
} else {
$version = '';
}