fix: Changing device type now is persistant (#5529)

This commit is contained in:
Neil Lathwood
2017-01-22 09:49:13 +00:00
committed by GitHub
parent 53df1d0b2c
commit 32da1bceea
5 changed files with 18 additions and 4 deletions

View File

@@ -165,9 +165,11 @@ function poll_device($device, $options)
{
global $config, $device, $polled_devices, $memcache;
$attribs = get_dev_attribs($device['device_id']);
$device['attribs'] = $attribs;
load_os($device);
$attribs = get_dev_attribs($device['device_id']);
$device['snmp_max_repeaters'] = $attribs['snmp_max_repeaters'];
$device['snmp_max_oid'] = $attribs['snmp_max_oid'];