mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Fix SNMP alerts in case of bad port number provided by the check
This commit is contained in:
parent
83011ccf3c
commit
69e7bcd2e4
2 changed files with 10 additions and 9 deletions
|
|
@ -835,7 +835,7 @@ function recipients.dispatch_notification(notification, current_script)
|
|||
if recipient_ok then
|
||||
-- Enqueue alert
|
||||
|
||||
--debug_print("Delivering " .. notification.entity_val .. " alert to recipient " .. recipient.recipient_name)
|
||||
-- debug_print(" ===> Delivering alert for entity value " .. notification.entity_val .. " to recipient " .. recipient.recipient_name)
|
||||
|
||||
ntop.recipient_enqueue(recipient.recipient_id,
|
||||
json_notification --[[ alert --]],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue