Project

General

Profile

Actions

Bug #13224

closed

Email notification flood when UPS (NUT) and WAN send notifications

Added by Riccardo Ambrosi over 2 years ago. Updated over 1 year ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Notifications
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
2.6.0
Affected Architecture:
All

Description

When my UPS (monitored with NUT) and one of my WAN (PPPoE) both send email notifications close to each other, it starts an email notification flood that end only with a reboot of the machine itself.
I'm receiving the same alerts over and over, every 10s or so.

In this thread there are some tests I took https://forum.netgate.com/topic/172123/pfsense-email-flood-issue which included checking the file notices_lastmsg.txt. That didn't update unless something new happened (normal behaviour I guess), only then it changed with the new notification, and the emails now contains also the new lines.

This is how I was able to reproduce the problem:
  • I unplugged ups and 5 to 10s later unplugged wan2 and the email started flooding.
    First email I received is from the UPS, followed by the wan2 down:


    The file notices_lastmsg.txt is updated with:
    MONITOR: WAN2_PPPOE has packet loss, omitting from routing group WAN_FAILOVER
    

    The following minutes the same last email is getting repeated every 10 sec or so, here are the next 3:

    During the flood, the file notices_lastmsg.txt didn't change unless something new happened (so did the email notifications), only then it changed with the new notification, like at 7:12, where I plugged back in the wan2:

    Now the emails are being sent also with the new notifications, they are adding up.
    Afterwards I rebooted and I recevied the last email:

    This is the content of notices_lastmsg.txt now:
    7:09:43 MONITOR: WAN2_PPPOE has packet loss, omitting from routing group WAN_FAILOVER
    142.250.184.99|xxx.xxx.xxx.xxx|WAN2_PPPOE|10.029ms|1.699ms|24%|down|highloss
    7:12:47 MONITOR: WAN2_PPPOE is available now, adding to routing group WAN_FAILOVER
    142.250.184.99|xxx.xxx.xxx.xxx|WAN2_PPPOE|11.602ms|0.092ms|0.0%|online|none
    7:12:48 DynDNS updated IP Address on WAN2 (pppoe0) to xxx.xxx.xxx.xxx
    7:14:01 pfSense is rebooting now.
    7:15:18 Bootup complete
    

The ups came back online at 7:12:52, I've got only one email relative to it, in the middle of the other wan2 ones:


Files

clipboard-202205270840-s45wf.png (45.7 KB) clipboard-202205270840-s45wf.png Riccardo Ambrosi, 05/27/2022 01:40 AM
clipboard-202205270840-yuzet.png (46.1 KB) clipboard-202205270840-yuzet.png Riccardo Ambrosi, 05/27/2022 01:40 AM
clipboard-202205270842-ypr9p.png (138 KB) clipboard-202205270842-ypr9p.png Riccardo Ambrosi, 05/27/2022 01:42 AM
clipboard-202205270844-fouwb.png (91.3 KB) clipboard-202205270844-fouwb.png Riccardo Ambrosi, 05/27/2022 01:44 AM
clipboard-202205270845-gskoo.png (105 KB) clipboard-202205270845-gskoo.png Riccardo Ambrosi, 05/27/2022 01:45 AM
clipboard-202205270847-0clp7.png (16.3 KB) clipboard-202205270847-0clp7.png Riccardo Ambrosi, 05/27/2022 01:47 AM

Related issues

Related to Bug #14031: Identical SMTP notifications repeat in an infinite loop under certain conditionsResolvedJim Pingle

Actions
Actions

Also available in: Atom PDF