Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Status>Monitoring, no monitoring data logged while in WAN failover

    Scheduled Pinned Locked Moved webGUI
    72 Posts 18 Posters 7.5k Views 19 Watching
    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.
    • N
      netblues @luckman212
      last edited by netblues

      @luckman212
      For copy paste to work, we need the raw file :)
      https://gist.githubusercontent.com/luckman212/8463fb030805c738c727b5ea9008cb3c/raw/f416de80ec895205b1c222c548d331ff4d1b04a9/rrd.inc.patch

      Also seems to work fine, but its only up a few minutes.

      Also checking the new check reload status, but didn't have the original issue too.

      1 Reply Last reply
      Reply Quote 1
      • R
        RFGuy_KCCO @luckman212
        last edited by

        @luckman212 said in Status>Monitoring, no monitoring data logged while in WAN failover:

        @marcosm fyi I released an updated version of the patch, with the verbose debug messages stripped: https://gist.github.com/luckman212/8463fb030805c738c727b5ea9008cb3c

        Thanks! The original patch has been working great for me, with no stopped graphing since I installed it.

        1 Reply Last reply
        Reply Quote 1
        • FireOdoF
          FireOdo @luckman212
          last edited by

          @luckman212 said in Status>Monitoring, no monitoring data logged while in WAN failover:

          @marcosm fyi I released an updated version of the patch, with the verbose debug messages stripped: https://gist.github.com/luckman212/8463fb030805c738c727b5ea9008cb3c

          Works well with:
          https://gist.githubusercontent.com/luckman212/8463fb030805c738c727b5ea9008cb3c/raw/f416de80ec895205b1c222c548d331ff4d1b04a9/rrd.inc.patch

          Thanks again for your work!
          Regards,
          FireOdo

          Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
          SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
          pfsense 2.9.0 CE
          Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

          A 1 Reply Last reply
          Reply Quote 0
          • A
            artenpie @FireOdo
            last edited by

            @FireOdo This works for me, too. I saw rrd stopping after interface changes (a client's ethernet cable is disconnected, or a dynamic WAN address update). That issue appears resolved.

            @luckman212 Thank you for this patch. Much appreciated!

            1 Reply Last reply
            Reply Quote 2
            • FireOdoF
              FireOdo @luckman212
              last edited by

              @luckman212 said in Status>Monitoring, no monitoring data logged while in WAN failover:

              @marcosm fyi I released an updated (V3) version of the patch, with the verbose debug messages stripped: https://gist.github.com/luckman212/33ff1715fd3a8d6cf5376e3dbc182b07

              Do you think there will be a "official Netgate" patch on this matter? For me your patch is perfect, its just a question!

              Thanks,
              FireOdo

              Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
              SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
              pfsense 2.9.0 CE
              Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

              luckman212L 1 Reply Last reply
              Reply Quote 1
              • luckman212L
                luckman212 LAYER 8 Rebel Alliance @FireOdo
                last edited by

                @FireOdo Yes, they committed the patch yesterday (see redmine 17099) but I would stick with my most recent version for now, because it appears the version they landed also relies on some other changes that are coming in 26.10 which is not available for testing, yet.

                FireOdoF keyserK C 3 Replies Last reply
                Reply Quote 1
                • FireOdoF
                  FireOdo @luckman212
                  last edited by FireOdo

                  @luckman212 said in Status>Monitoring, no monitoring data logged while in WAN failover:

                  also relies on some other changes that are coming in 26.10 which is not available for testing, yet.

                  Ah, OK. (those logging variable in util.inc etc.)
                  I stay with your patch.

                  Edit: Today 30.09.26 your patch has passed a ultimate test: the electricity was cut here (electroworks in the house) the UPS delivered for a while power and after that pfsense was shutdown by apcupsd in proper way. When pfsense recover everything was in perfect order! (not dyndns and snort - but that is another story).

                  Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                  SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                  pfsense 2.9.0 CE
                  Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

                  1 Reply Last reply
                  Reply Quote 0
                  • keyserK
                    keyser Rebel Alliance @luckman212
                    last edited by

                    @luckman212 I'm kind of hoping there will be a 26.07.1 because quite a lot of other "small niggles" have shown themselves in 26.07 and especially the initial package version of Nexus. For my large customers it's a lot of works to apply a bunch of patches and update Nexus on a large double digit number of firewalls.
                    Would be easier with everything in one 26.07.1 update.

                    But I hope they'll postpone until something has been done with the check_reload_status behaviour and consequent problems if you have link flaps.
                    I really like your work on trying to improve its behaviour, and I hope Netgate will have a good look and find inspiration - or even use your patch - if that is the best way to modernise/improve how it works.
                    Right now it seems it's a "puzzle work" of scripting for possible setups and dependencies that have not been modernised or "rethought" for a decade+

                    Love the no fuss of using the official appliances :-)

                    johnpozJ 1 Reply Last reply
                    Reply Quote 3
                    • GertjanG Gertjan referenced this topic on
                    • A AGawthrope referenced this topic on
                    • FireOdoF FireOdo referenced this topic on
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator @keyser
                      last edited by johnpoz

                      Just applied this - noticed my logging had stopped. It had happened before after just updating to 26.07. But just reset of data redoing the graphs had cleared it. But looking at my temps noticed they had not updated in a few days.

                      Applied your patch, and seems to be working again. Will keep an eye on it next few days. Thanks!

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 26.07 | Lab VMs 2.9.0, 26.07

                      1 Reply Last reply
                      Reply Quote 1
                      • A artenpie referenced this topic
                      • S
                        sheepthief @luckman212
                        last edited by

                        @luckman212 kudos to you, I'm very appreciative of this patch. Although I use pfsense extensively in a very large org I have one particular VM dedicated to monitoring some things that we can't see in Solarwinds - unfortunately one of those things failed, which is when I discovered that monitoring wasn't working after the last update, so I'd no history as evidence. Fixed now at least, so thanks!

                        1 Reply Last reply
                        Reply Quote 1
                        • C
                          cneep @luckman212
                          last edited by

                          I encountered my version of this issue today on four pfSense CE 2.9.0 firewalls, configured as two independent HA pairs at two different sites. All four stopped updating their Status → Monitoring graphs at approximately 02:11 AM on November 9.

                          After investigating, I discovered a common factor that may help identify another trigger for this bug.
                          All four firewalls have a cron job scheduled daily at 02:12 AM:

                          12 2 * * * root /etc/rc.restart_webgui

                          This job restarts the WebGUI to ensure that renewed certificates are loaded.

                          On one affected firewall, I collected the following evidence before restarting graphing:

                          • Last WAN traffic RRD update: 02:11:18
                          • Last CPU RRD update: 02:11:20
                          • /var/db/rrd/updaterrd.sh last modified: 02:12:01
                          • No updaterrd.sh or lockf process running when checked several hours later
                          • /var/run/updaterrd.sh.pid was absent

                          I also confirmed that /etc/rc.restart_webgui calls enable_rrd_graphing().

                          Disabling and re-enabling graphing through the WebGUI restored operation on the first HA pair.

                          Given the matching timestamps and the fact that all four firewalls experienced the problem, I suspect the scheduled WebGUI restart triggered the RRD collector restart/locking bug discussed here.

                          I haven't reproduced this on demand, but the correlation seems unusually strong. It might be worth testing whether /etc/rc.restart_webgui can trigger the same failure independently of WAN interface changes.

                          @luckman212, I haven't applied your patch yet, but I'd be interested in whether you think this scenario is consistent with the race condition you've identified.

                          1 Reply Last reply
                          Reply Quote 0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          • First post
                            Last post
                          Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                          Privacy Policy · Cookie Policy