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

Wan gw monitor

Scheduled Pinned Locked Moved 2.5 Development Snapshots (Retired)
7 Posts 4 Posters 791 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.
  • M
    maverick_slo
    last edited by Oct 15, 2020, 6:43 PM

    Hi.
    Since last release I get in gw monitoring both ipv4 and ipv6 as offline with packet loss 22% for ipv4 and 33% for ipv6. Values are not changibg at all.
    In status monitoring graph is all ok, correct ping, no packet loss and net is working as well...
    Any idea?
    Thanks.

    1 Reply Last reply Reply Quote 0
    • M
      maverick_slo
      last edited by Oct 15, 2020, 6:55 PM

      I see few commits for dpinger in last day or two so probably something is borked because of that...

      1 Reply Last reply Reply Quote 0
      • ?
        A Former User
        last edited by Oct 15, 2020, 7:20 PM

        Yesterdays changes to update gateway monitoring added some gateway alarm state caching files of alarm states, which are now getting stuck and never cleared once an interface / gateway recovers from an alarm / down condition.

        https://redmine.pfsense.org/projects/pfsense/repository/revisions/5affb137561c74bb5559f0706c86c28a85b14557

        I'm seeing this as interfaces that experience and alarm / down state getting stuck and never updating once the link recovers and will just keep showing the same info from the last alarm / down.

        found that if the cached state files are deleted the gateways immediately recover back to online.

        Need to delete the /tmp/.alarm.* & /tmp/.down.* files.

        Had to setup a quick script and cron job to clear these files periodically to make sure my OpenVPN links state up.

        Here's quick code to remove the files:

        for _f_ in alarm down; do ls /tmp/.${_f_}.* 2>/dev/null && rm /tmp/.${_f_}.*; done
        
        M F 2 Replies Last reply Oct 15, 2020, 7:24 PM Reply Quote 1
        • M
          maverick_slo @A Former User
          last edited by Oct 15, 2020, 7:24 PM

          @TechyTech
          Thanks, that works.

          Opened redmine: https://redmine.pfsense.org/issues/10981

          R 1 Reply Last reply Oct 15, 2020, 7:46 PM Reply Quote 0
          • R
            rbgarga Developer Netgate Administrator @maverick_slo
            last edited by Oct 15, 2020, 7:46 PM

            @maverick_slo I've pushed a fix. Please let me know if it works when next round of snapshots is available

            Renato Botelho

            1 Reply Last reply Reply Quote 0
            • F
              Flamez @A Former User
              last edited by Oct 15, 2020, 10:54 PM

              @TechyTech This worked for me too. Thank you.

              1 Reply Last reply Reply Quote 0
              • M
                maverick_slo
                last edited by Oct 16, 2020, 5:09 AM

                It works with latest snapshot.

                Thanks!

                1 Reply Last reply Reply Quote 0
                7 out of 7
                • First post
                  7/7
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                  This community forum collects and processes your personal information.
                  consent.not_received