I have setup smtp configuration and transports. When I click “test transport” I get a nice test email.
I have configured the default “device down” alert rule, and also a custom alert rule, with the Email Transport and downed a device.
The alert rule is triggered (red) but i am not getting any kind of email out of it.
The system randomly sent 2 emails yesterday about a rebooted device and the recovery of it
Rebooting that device again right now no longer generates any mails.
I ran an Alert capture on the devices.
All of them show;
Rule name: Device Down! Due to no ICMP response.
Alert rule: macros.device_down = 1 AND devices.status_reason = “icmp”
Alert query: SELECT * FROM devices WHERE (devices.device_id = ?) AND (devices.status = 0 && (devices.disabled = 0 && devices.ignore = 0)) = 1 AND devices.status_reason = “icmp”
Rule match: no match
But I do get Alerts triggered in the GUI when this device is down. Just nothing via Transports