mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Remove iface_ndpi_stats.lua (use the REST API)
This commit is contained in:
parent
a10f8cd0c3
commit
192a043ae5
8 changed files with 14 additions and 215 deletions
|
|
@ -1361,15 +1361,15 @@ elseif((page == "ndpi")) then
|
|||
|
||||
print[[ do_pie("#topApplicationProtocols", ']]
|
||||
print (ntop.getHttpPrefix())
|
||||
print [[/lua/iface_ndpi_stats.lua', { ifid: "]] print(ifId.."") print ("\" , ") print(hostinfo2json(host_info)) print [[ }, "", refresh);
|
||||
print [[/lua/rest/v1/get/host/l7/stats.lua', { ifid: "]] print(ifId.."") print ("\" , ") print(hostinfo2json(host_info)) print [[ }, "", refresh);
|
||||
|
||||
do_pie("#topApplicationCategories", ']]
|
||||
print (ntop.getHttpPrefix())
|
||||
print [[/lua/iface_ndpi_stats.lua', { ndpi_category: "true", ifid: "]] print(ifId.."") print ("\" , ") print(hostinfo2json(host_info)) print [[ }, "", refresh);
|
||||
print [[/lua/rest/v1/get/host/l7/stats.lua', { ndpi_category: "true", ifid: "]] print(ifId.."") print ("\" , ") print(hostinfo2json(host_info)) print [[ }, "", refresh);
|
||||
|
||||
do_pie("#topApplicationBreeds", ']]
|
||||
print (ntop.getHttpPrefix())
|
||||
print [[/lua/iface_ndpi_stats.lua', { breed: "true", ifid: "]] print(ifId.."") print ("\" , ") print(hostinfo2json(host_info)) print [[ }, "", refresh);
|
||||
print [[/lua/rest/v1/get/host/l7/stats.lua', { breed: "true", ifid: "]] print(ifId.."") print ("\" , ") print(hostinfo2json(host_info)) print [[ }, "", refresh);
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue