mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Add preference to enable SNMP interfaces dump
This commit is contained in:
parent
29dd494321
commit
d47674757e
4 changed files with 26 additions and 0 deletions
|
|
@ -194,6 +194,9 @@ function getRRDName(ifid, host_or_network, rrdFile)
|
|||
elseif host_or_network ~= nil and string.starts(host_or_network, 'pool:') then
|
||||
host_or_network = string.gsub(host_or_network, 'pool:', '')
|
||||
rrdname = host_pools_utils.getRRDBase(ifid, "")
|
||||
elseif host_or_network ~= nil and string.starts(host_or_network, 'snmp:') then
|
||||
host_or_network = string.gsub(host_or_network, 'snmp:', '')
|
||||
rrdname = fixPath(dirs.workingdir .. "/" .. ifid .. "/snmpstats/")
|
||||
else
|
||||
rrdname = fixPath(dirs.workingdir .. "/" .. ifid .. "/rrd/")
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue