mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Fixes curl smtp send mail issues
This commit is contained in:
parent
2bc61142fa
commit
3ed603498f
6 changed files with 53 additions and 31 deletions
|
|
@ -2565,9 +2565,13 @@ end
|
|||
--
|
||||
|
||||
local ALERT_NOTIFICATION_MODULES = {
|
||||
"nagios", "email", "slack"
|
||||
"nagios", "slack"
|
||||
}
|
||||
|
||||
if ntop.sendMail then -- only if email support is available
|
||||
ALERT_NOTIFICATION_MODULES[#ALERT_NOTIFICATION_MODULES + 1] = "email"
|
||||
end
|
||||
|
||||
function getAlertNotificationModuleEnableKey(module_name, short)
|
||||
local short_k = "alerts." .. module_name .. "_notifications_enabled"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue