initial support for cisco ons

This commit is contained in:
crcro
2016-09-15 00:25:25 +03:00
parent d2193f76ca
commit b9cd6012b7
2 changed files with 19 additions and 0 deletions

View File

@@ -595,6 +595,19 @@ $config['os'][$os]['over'][4]['graph'] = 'device_ciscowlc_numclients';
$config['os'][$os]['over'][4]['text'] = 'Number of Clients'; $config['os'][$os]['over'][4]['text'] = 'Number of Clients';
$config['os'][$os]['icon'] = 'cisco'; $config['os'][$os]['icon'] = 'cisco';
$os = 'ciscoons';
$config['os'][$os]['group'] = 'cisco';
$config['os'][$os]['text'] = 'Cisco ONS';
$config['os'][$os]['ifname'] = 1;
$config['os'][$os]['type'] = 'network';
$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 = 'vcs'; $os = 'vcs';
$config['os'][$os]['text'] = 'Video Communication Server'; $config['os'][$os]['text'] = 'Video Communication Server';
$config['os'][$os]['type'] = 'collaboration'; $config['os'][$os]['type'] = 'collaboration';

View File

@@ -0,0 +1,6 @@
<?php
if (!$os) {
if (str_contains($sysDescr, 'Cisco ONS')) {
$os = 'ciscoons';
}
}