-- -- (C) 2019-24 - ntop.org -- dirs = ntop.getDirs() package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path package.path = dirs.installdir .. "/scripts/lua/pro/modules/?.lua;" .. package.path package.path = dirs.installdir .. "/scripts/lua/pro/?.lua;" .. package.path require "lua_utils" local checks = require "checks" if not isAdministrator() then return end local ifid = interface.getId() if tonumber(_GET["ifid"]) ~= nil then ifid = _GET["ifid"] elseif not ifid then error("Missing interface index") end local producer_types = {}; local syslog_scripts = checks.listScripts(checks.script_types.syslog, "syslog") for k,v in pairs(syslog_scripts) do table.insert(producer_types, { title = i18n(v.."_collector.title"), value = v }) end -- ####################################################### -- Title print([[

]] .. i18n("syslog.producers") .. [[

]]) -- Table print([[
]].. i18n("syslog.producer_type") ..[[ ]].. i18n("syslog.producer_host") .. [[ ]].. i18n("actions") .. [[
]]) -- Edit Modal print([[ ]]) -- Add Modal print([[ ]]) -- Delete Modal print([[ ]]) -- Notes --print([[ --
-- ]].. i18n("notes") .. [[ --
--]]) -- Table Data print([[ ]])