mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
33 lines
916 B
Lua
33 lines
916 B
Lua
--
|
|
-- (C) 2013-19 - ntop.org
|
|
--
|
|
|
|
dirs = ntop.getDirs()
|
|
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
|
require "lua_utils"
|
|
local ts_utils = require("ts_utils")
|
|
local info = ntop.getInfo()
|
|
local page_utils = require("page_utils")
|
|
local alerts_api = require("alerts_api")
|
|
local format_utils = require("format_utils")
|
|
|
|
sendHTTPContentTypeHeader('text/html')
|
|
page_utils.print_header(i18n("about.about_x", { product=info.product }))
|
|
|
|
active_page = "about"
|
|
dofile(dirs.installdir .. "/scripts/lua/inc/menu.lua")
|
|
|
|
-- checks all the hosts of the current interface (TODO: iterate all interfaces)
|
|
interface.checkHostsAlertsMin()
|
|
|
|
-- checks the current networks alerts
|
|
interface.checkNetworksAlertsMin()
|
|
|
|
-- checks the current interface alerts
|
|
interface.checkInterfaceAlertsMin()
|
|
|
|
-- Run lua scripts on flows
|
|
interface.checkFlowsLua()
|
|
|
|
dofile(dirs.installdir .. "/scripts/lua/inc/footer.lua")
|
|
|