mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Implement System interface
The system interface now holds system wide alerts and timeseries
This commit is contained in:
parent
8b8e201581
commit
5f9e8b17df
16 changed files with 179 additions and 48 deletions
|
|
@ -113,6 +113,14 @@ end
|
|||
|
||||
-- ##############################################
|
||||
|
||||
function getSystemInterfaceId()
|
||||
-- NOTE: keep in sync with SYSTEM_INTERFACE_ID in ntop_defines.h
|
||||
-- This must be a string as it is passed in interface.select
|
||||
return "-1"
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
-- Note that ifname can be set by Lua.cpp so don't touch it if already defined
|
||||
if((ifname == nil) and (_GET ~= nil)) then
|
||||
ifname = _GET["ifid"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue