mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Added ntop cloud menu icon
This commit is contained in:
parent
91db92488a
commit
dddcc1b771
2 changed files with 16 additions and 4 deletions
|
|
@ -345,10 +345,15 @@ function dumpBriefInterfaceStats(ifid)
|
|||
res["localtime"] = os.date("%H:%M:%S %z", res["epoch"])
|
||||
res["uptime"] = secondsToTime(uptime)
|
||||
if ntop.isPro() then
|
||||
local product_info = ntop.getInfo(true)
|
||||
local product_info = ntop.getInfo(true)
|
||||
|
||||
if product_info["pro.out_of_maintenance"] then
|
||||
res["out_of_maintenance"] = true
|
||||
end
|
||||
|
||||
if(product_info.ntopcloud) then
|
||||
res["ntopcloud"] = true
|
||||
end
|
||||
end
|
||||
|
||||
res["hosts_pctg"] = hosts_pctg
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue