mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
initial support for cisco ons
This commit is contained in:
@@ -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';
|
||||||
|
|||||||
6
includes/discovery/os/ciscoons.inc.php
Normal file
6
includes/discovery/os/ciscoons.inc.php
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?php
|
||||||
|
if (!$os) {
|
||||||
|
if (str_contains($sysDescr, 'Cisco ONS')) {
|
||||||
|
$os = 'ciscoons';
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user