Implement alerts links to graphs

This commit is contained in:
emanuele-f 2018-09-20 12:51:58 +02:00
parent c4a5612084
commit eb79229048
9 changed files with 59 additions and 6 deletions

View file

@ -703,6 +703,14 @@ function hasNagiosSupport()
return prefs.nagios_nsca_host ~= nil
end
function hasNindexSupport()
-- TODO optimize
if prefs == nil then
prefs = ntop.getPrefs()
end
return prefs.is_nindex_enabled
end
--for _key, _value in pairsByKeys(vals, rev) do
-- print(_key .. "=" .. _value .. "\n")
--end