- OS Support for Cisco Access Control System (ACS) virtual appliances

This commit is contained in:
Aaron Daniels
2016-06-30 06:55:32 +10:00
parent 480135349c
commit 3b0fa04616
3 changed files with 34 additions and 0 deletions

View File

@@ -423,6 +423,19 @@ $config['os'][$os]['over'][1]['text'] = 'CPU Usage';
$config['os'][$os]['over'][2]['graph'] = 'device_mempool';
$config['os'][$os]['over'][2]['text'] = 'Memory Usage';
$os = 'acs';
$config['os'][$os]['group'] = "cisco";
$config['os'][$os]['text'] = 'Cisco ACS';
$config['os'][$os]['ifname'] = 1;
$config['os'][$os]['type'] = 'server';
$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'] = 'CPU Usage';
$config['os'][$os]['over'][2]['graph'] = 'device_mempool';
$config['os'][$os]['over'][2]['text'] = 'Memory Usage';
$os = 'cat1900';
$config['os'][$os]['group'] = 'cat1900';
$config['os'][$os]['text'] = 'Cisco Catalyst 1900';

View File

@@ -0,0 +1,8 @@
<?php
if (!$os) {
if (strstr($sysObjectId, '.1.3.6.1.4.1.9.1.1117')) {
$os = 'acs';
}
}

View File

@@ -0,0 +1,13 @@
<?php
$hardware = 'Virtual Machine';
$serial = str_replace('"','',snmp_get($device, '.1.3.6.1.2.1.47.1.1.1.1.11.1', '-Oqv'));
// Cisco Secure Access Control System 5.8
if (preg_match('/^Cisco Secure Access Control System ([^,]+)$/', $device['sysDescr'], $regexp_result)) {
$version = $regexp_result[1];
}
else {
$version = '';
}