mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
parent
ed0c6e46d2
commit
49e49e0ed6
30 changed files with 217 additions and 187 deletions
|
|
@ -123,14 +123,8 @@ for _key, _value in pairsByKeys(vals, funct) do
|
|||
print(url.."'>")
|
||||
print("<i class='fas fa-search-plus fa-lg'></i>")
|
||||
print("</A>")
|
||||
|
||||
print("\",\n")
|
||||
print(" \"column_server_ip\" : \"<A HREF='")
|
||||
url = ntop.getHttpPrefix().."/lua/host_details.lua?" ..hostinfo2url(value["server.ip"]) .. "&page=http"
|
||||
print(url.."'>")
|
||||
print(value["server.ip"])
|
||||
print("</A>\"")
|
||||
print(",\n \"column_url\" : \""..url.."\"")
|
||||
print(" \"column_server_ip\" : \""..ip2detailshref(value["server.ip"], value["server.vlan"], {page = "http"}, value["server.ip"]).."\"")
|
||||
print(",\n \"column_bytes_sent\" : \"" .. bytesToSize(value["bytes.sent"]))
|
||||
print("\",\n \"column_bytes_rcvd\" : \"" .. bytesToSize(value["bytes.rcvd"]))
|
||||
print("\",\n \"column_http_requests\" : \"" .. formatValue(value["http.requests"]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue