fix: os type and group not being set (#5357)

This commit is contained in:
Tony Murray
2017-01-09 02:16:09 -06:00
committed by Neil Lathwood
parent 5ad8fd3c0c
commit b3f6218359
5 changed files with 34 additions and 32 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['os']);
load_os($device);
$attribs = get_dev_attribs($device['device_id']);
$device['snmp_max_repeaters'] = $attribs['snmp_max_repeaters'];