Added basic support for Avaya IP Office discovery

This commit is contained in:
Tom Ferguson
2015-09-17 06:48:42 -04:00
parent 606963cc18
commit c3b7363e03
3 changed files with 21 additions and 0 deletions

View File

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

View File

@ -0,0 +1,7 @@
<?php
if (!$os) {
if (strstr(snmp_get($device, 'ENTITY-MIB::entPhysicalDescr.1', '-Oqvn'), 'Avaya IP Office')) {
$os = "avaya-ipo";
}
}

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