mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Implement alerts links to graphs
This commit is contained in:
parent
c4a5612084
commit
eb79229048
9 changed files with 59 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue