newdevice: Added support for Dasan NOS #5179 + disco change (#5255)

* newdevice: Added support for Dasan NOS #5179

* sysName -> sysDescr - doh

* updated functions

* Updated discovery of OS functions

* added missing test units

* mibs added

* Allow multiple regex statements per sysDescr_regex

* Fix style/code issues

* added docs
This commit is contained in:
Neil Lathwood
2017-01-03 20:04:18 +00:00
committed by Tony Murray
parent 1bf7e4a120
commit cc8e31d1a1
94 changed files with 319427 additions and 21 deletions

View File

@@ -149,7 +149,7 @@ function poll_device($device, $options)
{
global $config, $device, $polled_devices, $memcache;
$config['os'][$device['os']] = load_os($device);
$config['os'][$device['os']] = load_os($device['os']);
$attribs = get_dev_attribs($device['device_id']);
$device['snmp_max_repeaters'] = $attribs['snmp_max_repeaters'];