Unbinds SNMP Devices from Interfaces

Implements #1074
Implements #1065
This commit is contained in:
Simone Mainardi 2017-03-20 16:46:00 +01:00
parent fe2a5fca43
commit c775d79b4e
4 changed files with 15 additions and 16 deletions

View file

@ -306,7 +306,5 @@ end)
-- This must be placed at the end of the script
if(tostring(snmp_devices_rrd_creation) == "1") then
callback_utils.foreachInterface(ifnames, verbose, function(_ifname, ifstats)
snmp_update_rrds(ifstats.id, time_threshold, verbose)
end)
snmp_update_rrds(time_threshold, verbose)
end