Fix SNMP alerts in case of bad port number provided by the check

This commit is contained in:
Alfredo Cardigliano 2023-06-06 10:34:24 +00:00 committed by Nicolo Maio
parent 83011ccf3c
commit 69e7bcd2e4
2 changed files with 10 additions and 9 deletions

View file

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