mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
parent
d7765bb32d
commit
359d359d09
8 changed files with 121 additions and 73 deletions
|
|
@ -38,6 +38,8 @@ local vhost = _GET["vhost"]
|
|||
local flowhosts_type = _GET["flowhosts_type"]
|
||||
local ipversion = _GET["version"]
|
||||
local vlan = _GET["vlan"]
|
||||
local icmp_type = _GET["icmp_type"]
|
||||
local icmp_code = _GET["icmp_cod"]
|
||||
|
||||
-- remote exporters address and interfaces
|
||||
local deviceIP = _GET["deviceIP"]
|
||||
|
|
@ -140,6 +142,11 @@ if(flowhosts_type ~= nil) then
|
|||
page_params["flowhosts_type"] = flowhosts_type
|
||||
end
|
||||
|
||||
if((icmp_type ~= nil) and (icmp_code ~= nil)) then
|
||||
page_params["icmp_type"] = icmp_type
|
||||
page_params["icmp_cod"] = icmp_code
|
||||
end
|
||||
|
||||
print(getPageUrl(ntop.getHttpPrefix().."/lua/get_flows_data.lua", page_params))
|
||||
|
||||
print ('";')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue