Added support for Avaya VSP

This commit is contained in:
laf 2016-08-12 23:58:34 +01:00
parent f02b4c9253
commit 226202de81
6 changed files with 88055 additions and 44336 deletions

View File

@ -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';

View 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';
}
}

View 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);
}

View 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

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff