mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Cleanup nagios code
This commit is contained in:
parent
f7675eb94e
commit
bde41ff4b7
19 changed files with 3 additions and 255 deletions
|
|
@ -601,13 +601,6 @@ function hasAlertsDisabled()
|
|||
((_POST["disable_alerts_generation"] == nil) and (ntop.getPref("ntopng.prefs.disable_alerts_generation") == "1"))
|
||||
end
|
||||
|
||||
function hasNagiosSupport()
|
||||
if prefs == nil then
|
||||
prefs = ntop.getPrefs()
|
||||
end
|
||||
return prefs.nagios_nsca_host ~= nil
|
||||
end
|
||||
|
||||
function hasNindexSupport()
|
||||
if not ntop.isEnterpriseM() or ntop.isWindows() then
|
||||
return false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue