Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Wireguard tunnel monitoring emails

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 213 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • GPz1100G
      GPz1100
      last edited by

      Tunnel consists of 2 end points, pfsense and the remote end.

      Remote end only has outbound capabilities, so it only connects to pfsense. Once connected, pfsense gateway monitoring is set up to ping the remote node. If the remote goes down, an email is generated.

      However, the pfsense gateway log becomes flooded with dpinger messages indicating error 65.

      The emails are welcome, but the log entries are not. Is there a way to reduce the log noise for this particular gateway?

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        The only way I'm aware of would be to change the dpinger parameters to reduce the ping frequency. A lot!

        GPz1100G 1 Reply Last reply Reply Quote 0
        • GPz1100G
          GPz1100 @stephenw10
          last edited by

          @stephenw10 Maybe changing the approach is worthwhile.

          Can you point me to the code that's responsible for the gateway monitoring? That is what spawns dpinger?

          Maybe I can run something in a manner that would not use dpinger? Or dpinger is what actually triggers the gateway failure emails?

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            I would look in notices.inc and gateways.inc for where the emails are triggered.

            That won't help with log errors from dpinger though

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.