-- -- (C) 2013-17 - ntop.org -- dirs = ntop.getDirs() package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path require "lua_utils" sendHTTPHeader('text/html; charset=iso-8859-1') ntop.dumpFile(dirs.installdir .. "/httpdocs/inc/header.inc") active_page = "about" dofile(dirs.installdir .. "/scripts/lua/inc/menu.lua") if(_GET["ntopng_license"] ~= nil) then ntop.setCache('ntopng.license', _GET["ntopng_license"]) ntop.checkLicense() end info = ntop.getInfo() print("
| System Id | ".. info["pro.systemid"].." |
|---|---|
| Version | "..ntopng_git_url) if(info["pro.release"] == false) then print(" - Community") else print(" - Pro Small Business") end if(info["version.embedded_edition"] == true) then print("/Embedded") end print(" Edition |
| Platform | "..info["platform"].." - "..info["bits"] .." bit |
| Startup Line | ntopng "..info["command_line"].." |
| Last Log Trace | \n")
for i=1,32 do
msg = ntop.listIndexCache("ntopng.trace", i)
if(msg ~= nil) then
print(msg.." |