device: cisco ons support (#4441)

* initial support for cisco ons

* oh travis...

* renamed from ciscoons to ons
This commit is contained in:
Neil Lathwood
2016-09-15 11:36:55 +01:00
committed by GitHub
2 changed files with 19 additions and 0 deletions
+13
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]['icon'] = 'cisco';
$os = 'ons';
$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';
$config['os'][$os]['text'] = 'Video Communication Server';
$config['os'][$os]['type'] = 'collaboration';
+6
View File
@@ -0,0 +1,6 @@
<?php
if (!$os) {
if (str_contains($sysDescr, 'Cisco ONS')) {
$os = 'ons';
}
}