mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 02:16:39 +00:00
Initial work to add the SQLite plugin and builtin recipient
This commit is contained in:
parent
e1f07e1787
commit
1d4930fc13
14 changed files with 220 additions and 25 deletions
|
|
@ -19,4 +19,13 @@ end
|
|||
|
||||
local endpoints = notification_configs.get_configs()
|
||||
|
||||
print(json.encode(endpoints))
|
||||
-- Exclude builtin configs
|
||||
-- Such configs will be possibly made non-editable non-deletable later
|
||||
local res = {}
|
||||
for _, config in pairs(endpoints) do
|
||||
if not config.endpoint_conf.builtin then
|
||||
res[#res + 1] = config
|
||||
end
|
||||
end
|
||||
|
||||
print(json.encode(res))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue