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

    Too much mails on gateway problems

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    7 Posts 3 Posters 1.6k 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.
    • G Offline
      ggzengel
      last edited by

      2.1-BETA1 (amd64)
      built on Fri Feb 1 01:33:53 EST 2013

      If I restart an openvpn service i will get 19 mails saying:
      Gateways status could not be determined, considering all as up/active. (Group: WAN)
      Gateways status could not be determined, considering all as up/active. (Group: Internet)

      The OVPN gateway is not in a group.

      1 Reply Last reply Reply Quote 0
      • jimpJ Offline
        jimp Rebel Alliance Developer Netgate
        last edited by

        It still checks the status of your other gateways when an interface goes up/down.

        Check your gateway groups status and make sure they are actually online like they should be.

        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • G Offline
          ggzengel
          last edited by

          They are all up.
          With 2.0.2 I will only get one mail per group and not 9+.
          And no mail if I restart OVPN.

          1 Reply Last reply Reply Quote 0
          • jimpJ Offline
            jimp Rebel Alliance Developer Netgate
            last edited by

            Looking at the code, the only way it lands on that error is if all gateways are down or in some otherwise unknown state (meaning they are not 'online') at the time of the check.

            It shows up more on 2.1 because the gateway groups check is performed a lot more now that gateway groups can be used in places like OpenVPN, IPsec, DynDNS, etc.

            Though since that message isn't all that meaningful and it's rather spammy, I'll disable it from e-mail notifications for now.

            Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • A Offline
              athurdent
              last edited by

              Great thanks, I would get 4 of them on every nightly pppoe IP change.
              If this question needs another thread, I'm happy to create one: Shouldn't one be getting a mail if a gateway returns from down state? I only get a mail if a gateway is own but never when it comes up again and everything is OK.

              1 Reply Last reply Reply Quote 0
              • jimpJ Offline
                jimp Rebel Alliance Developer Netgate
                last edited by

                No there is no notify event when a gateway comes back up.

                Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                1 Reply Last reply Reply Quote 0
                • G Offline
                  ggzengel
                  last edited by

                  Perhaps it's posible to remember last state of interface/gateway and send only email if state differs.
                  2nd perhaps: make it possible to mark an interface/gateway to send email on change.

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