mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Removed threshold not nil check
Error due to the fact that an old user script configuration was in use
This commit is contained in:
parent
69ebe4e1a6
commit
5e7cafd8f7
1 changed files with 0 additions and 4 deletions
|
|
@ -607,10 +607,6 @@ function alerts_api.checkThresholdAlert(params, alert_type, value, attacker, vic
|
|||
local alarmed = false
|
||||
local threshold = threshold_config.threshold or threshold_config.default_contacts
|
||||
|
||||
if not value or not threshold then
|
||||
return
|
||||
end
|
||||
|
||||
local alert = alert_type.new(
|
||||
params.user_script.key,
|
||||
value,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue