mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +00:00
Added support for Avaya VSP
This commit is contained in:
parent
f02b4c9253
commit
226202de81
@ -968,6 +968,16 @@ $config['os'][$os]['text'] = 'IP Office Firmware';
|
||||
$config['os'][$os]['type'] = 'network';
|
||||
$config['os'][$os]['icon'] = 'avaya';
|
||||
|
||||
$os = 'avaya-vsp';
|
||||
$config['os'][$os]['text'] = 'Avaya VSP';
|
||||
$config['os'][$os]['type'] = 'network';
|
||||
$config['os'][$os]['icon'] = 'avaya';
|
||||
$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 = 'arista_eos';
|
||||
$config['os'][$os]['text'] = 'Arista EOS';
|
||||
|
17
includes/discovery/os/avaya-vsp.inc.php
Normal file
17
includes/discovery/os/avaya-vsp.inc.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
/*
|
||||
* LibreNMS
|
||||
*
|
||||
* Copyright (c) 2016 Neil Lathwood <neil@lathwood.co.uk>
|
||||
* This program is free software: you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation, either version 3 of the License, or (at your
|
||||
* option) any later version. Please see LICENSE.txt at the top level of
|
||||
* the source code distribution for details.
|
||||
*/
|
||||
|
||||
if (!$os) {
|
||||
if (strstr($sysDescr, 'VSP-') && strstr($sysObjectId, '.1.3.6.1.4.1.2272.208')) {
|
||||
$os = 'avaya-vsp';
|
||||
}
|
||||
}
|
7
includes/discovery/processors/avaya-vsp.inc.php
Normal file
7
includes/discovery/processors/avaya-vsp.inc.php
Normal file
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
if ($device['os'] == 'avaya-vsp') {
|
||||
$oid = '.1.3.6.1.4.1.2272.1.85.10.1.1.2.1';
|
||||
$usage = snmp_walk($device, $oid, '-Ovq');
|
||||
discover_processor($valid['processor'], $device, $oid, 1, 'avaya-vsp', 'VSP Processor', '1', $usage);
|
||||
}
|
16
includes/polling/os/avaya-vsp.inc.php
Normal file
16
includes/polling/os/avaya-vsp.inc.php
Normal file
@ -0,0 +1,16 @@
|
||||
<?php
|
||||
/*
|
||||
* LibreNMS
|
||||
*
|
||||
* Copyright (c) 2016 Neil Lathwood <neil@lathwood.co.uk>
|
||||
* This program is free software: you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation, either version 3 of the License, or (at your
|
||||
* option) any later version. Please see LICENSE.txt at the top level of
|
||||
* the source code distribution for details.
|
||||
*/
|
||||
|
||||
$temp = explode(' ', $poll_device['sysDescr']);
|
||||
$hardware = $temp[0];
|
||||
$serial = snmp_get($device, 'rcChasSerialNumber', '-Osqv', 'RAPID-CITY');
|
||||
$version = snmp_get($device, 'rcSysVersion', '-Osqv', 'RAPID-CITY');
|
1954
mibs/IEEE8021-SECY-MIB
Normal file
1954
mibs/IEEE8021-SECY-MIB
Normal file
File diff suppressed because it is too large
Load Diff
130387
mibs/RAPID-CITY
130387
mibs/RAPID-CITY
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user