Skip to content

Commit

Permalink
Merge pull request #4064 from adaniels21487/issue-4061
Browse files Browse the repository at this point in the history
OS Support for Acano collaboration appliances
  • Loading branch information
murrant committed Aug 16, 2016
2 parents a7b5840 + d41117e commit 40c0728
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
10 changes: 10 additions & 0 deletions includes/definitions.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,16 @@
$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';
Expand Down
7 changes: 7 additions & 0 deletions includes/discovery/os/acano.inc.php
Original file line number Diff line number Diff line change
@@ -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 changes: 7 additions & 0 deletions includes/polling/os/acano.inc.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

if (preg_match('/Acano Server ([^,]+)/', $device['sysDescr'], $regexp_result)) {
$version = $regexp_result[1];
} else {
$version = '';
}

0 comments on commit 40c0728

Please sign in to comment.