mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Fixes various community version bugs
- Top ports page - Top ASNs page - Top flow senders page - ASN graphs - Hosts comparison sankey, port filtering - Blank preferences screen - Host pools add/remove members errors
This commit is contained in:
parent
1fbbe86e39
commit
12e6db4efb
13 changed files with 67 additions and 22 deletions
|
|
@ -656,6 +656,8 @@ else
|
|||
formatter_fctn = "fpackets"
|
||||
end
|
||||
|
||||
rrd = rrd2json(ifid, host, rrdFile, start_time, end_time, true, false) -- the latest false means: expand_interface_views
|
||||
|
||||
if (topArray ~= nil) then
|
||||
print [[
|
||||
<table class="table table-bordered table-striped" style="border: 0; margin-right: 10px; display: table-cell">
|
||||
|
|
@ -663,8 +665,6 @@ print [[
|
|||
|
||||
print(' <tr><th> </th><th>Time</th><th>Value</th></tr>\n')
|
||||
|
||||
rrd = rrd2json(ifid, host, rrdFile, start_time, end_time, true, false) -- the latest false means: expand_interface_views
|
||||
|
||||
if(string.contains(rrdFile, "num_") or string.contains(rrdFile, "tcp_") or string.contains(rrdFile, "packets") or string.contains(rrdFile, "drops")) then
|
||||
print(' <tr><th>Min</th><td>' .. os.date("%x %X", rrd.minval_time) .. '</td><td>' .. formatValue(rrd.minval) .. '</td></tr>\n')
|
||||
print(' <tr><th>Max</th><td>' .. os.date("%x %X", rrd.maxval_time) .. '</td><td>' .. formatValue(rrd.maxval) .. '</td></tr>\n')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue