2016-07-02 12:56:01 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* LibreNMS ADTRAN AOS OS Poller module
|
|
|
|
|
*
|
|
|
|
|
* Copyright (c) 2016 Chris A. Evans <thecityofguanyu@outlook.com>
|
|
|
|
|
*
|
|
|
|
|
* 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.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
2016-07-06 16:45:54 -05:00
|
|
|
$hardware = snmp_get($device, 'adAOSDeviceProductName.0', '-Ovqs', 'ADTRAN-AOSUNIT', $config['install_dir'].'/mibs');
|
2016-07-06 16:44:30 -05:00
|
|
|
$version = snmp_get($device, 'adAOSDeviceVersion.0', '-Ovqs', 'ADTRAN-AOSUNIT', $config['install_dir'].'/mibs');
|
|
|
|
|
$serial = snmp_get($device, 'adAOSDeviceSerialNumber.0', '-Ovqs', 'ADTRAN-AOSUNIT', $config['install_dir'].'/mibs');
|
2016-07-02 12:56:01 -05:00
|
|
|
$features = '';
|