Cleanup nagios code

This commit is contained in:
Alfredo Cardigliano 2020-07-28 11:33:04 +02:00
parent f7675eb94e
commit bde41ff4b7
19 changed files with 3 additions and 255 deletions

View file

@ -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