Initial implementation of the icinga2 checker plugin

This commit is contained in:
Simone Mainardi 2019-08-22 17:16:14 +02:00
parent f43f4b7dd9
commit 061eb632a6
2 changed files with 148 additions and 0 deletions

View file

@ -178,6 +178,7 @@ function lists_utils.getCategoryLists()
-- TODO add support for user defined urls
local lists = {}
local redis_lists = loadListsFromRedis()
local default_status = {last_update=0, num_hosts=0, last_error=false, num_errors=0}
for key, default_values in pairs(BUILTIN_LISTS) do