mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added basic support for Avaya IP Office discovery
This commit is contained in:
@ -634,6 +634,12 @@ $config['os'][$os]['icon'] = 'avaya';
|
||||
$config['os'][$os]['over'][0]['graph'] = 'device_bits';
|
||||
$config['os'][$os]['over'][0]['text'] = 'Device Traffic';
|
||||
|
||||
$os = 'avaya-ipo';
|
||||
$config['os'][$os]['text'] = 'IP Office Firmware';
|
||||
$config['os'][$os]['type'] = 'network';
|
||||
$config['os'][$os]['icon'] = 'avaya';
|
||||
|
||||
|
||||
$os = 'arista_eos';
|
||||
$config['os'][$os]['text'] = 'Arista EOS';
|
||||
$config['os'][$os]['type'] = 'network';
|
||||
|
7
includes/discovery/os/avaya-ipo.inc.php
Normal file
7
includes/discovery/os/avaya-ipo.inc.php
Normal file
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
if (!$os) {
|
||||
if (strstr(snmp_get($device, 'ENTITY-MIB::entPhysicalDescr.1', '-Oqvn'), 'Avaya IP Office')) {
|
||||
$os = "avaya-ipo";
|
||||
}
|
||||
}
|
8
includes/polling/os/avaya-ipo.inc.php
Normal file
8
includes/polling/os/avaya-ipo.inc.php
Normal file
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
echo 'Scanning Avaya IP Office...';
|
||||
|
||||
$sysObjectID = snmp_get($device, 'sysObjectID.0', '-Oqvn');
|
||||
|
||||
$version = snmp_get($device, 'SNMPv2-MIB::sysDescr.0', '-Oqvn');
|
||||
$hardware = snmp_get($device, 'ENTITY-MIB::entPhysicalDescr.1', '-Oqvn');
|
Reference in New Issue
Block a user