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

    RRD Graphs - Throughput Not Working

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    20 Posts 3 Posters 2.9k 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.
    • D
      divsys
      last edited by

      Yah, I tried a quick remove of the RRD-Summary package and then (was forced to) wipe the RRD data.

      Got a brief display of the Throughput display with no indications of anything (data hadn't loaded yet), then the "graphs" icons as before.

      I'm also seeing an error message in the "System Logs->System" about:

      "ERROR: '/var/db/rrd/opt1-traffic.rrd' is not an RRD"

      I shelled into /var/db/rrd and removed all the opt1*.rrd files, hoping for an auto build on the next round, but no luck and same issue with Throughput.
      I'm guessing I may have some cron piece of the RRD-Summary package still running?????

      I have to deal with some other issues for now, need to run.
      I'll check back later to see if I can beat this up, still only cosmetic for me.

      -jfp

      1 Reply Last reply Reply Quote 0
      • arrmoA
        arrmo
        last edited by

        Checked here - nothing in the logs, at least that I can see … :(.

        1 Reply Last reply Reply Quote 0
        • D
          David_W
          last edited by

          The Traffic RRD graphs are built from the output of /sbin/pfctl -vvsI -i <real interface="">by the /var/db/rrd/updaterrd.sh script.

          It may be worth trying the pfctl command at the command prompt. For example, on my box:

          /sbin/pfctl -vvsI -i pppoe0
          pppoe0
                  Cleared:    Sat Nov  7 00:30:51 2015
                  References:  162             
                  In4/Pass:    [ Packets: 1884512            Bytes: 1356895688        ]
                  In4/Block:  [ Packets: 207302            Bytes: 26537135          ]
                  Out4/Pass:  [ Packets: 1677864            Bytes: 190624512          ]
                  Out4/Block:  [ Packets: 0                  Bytes: 0                  ]
                  In6/Pass:    [ Packets: 923306            Bytes: 699444896          ]
                  In6/Block:  [ Packets: 2787              Bytes: 385954            ]
                  Out6/Pass:  [ Packets: 969469            Bytes: 90639385          ]
                  Out6/Block:  [ Packets: 0                  Bytes: 0                  ]</real>

          1 Reply Last reply Reply Quote 0
          • arrmoA
            arrmo
            last edited by

            Tried the command, it works great. Is there a way to manually look at the RRD file?

            Thanks!

            1 Reply Last reply Reply Quote 0
            • D
              David_W
              last edited by

              rrdtool dump <filename>| less
              should do what you want.

              The RRDtool documentation should guide you further.</filename>

              1 Reply Last reply Reply Quote 0
              • D
                divsys
                last edited by

                Managed to get back to the box and try a few things.

                Definitely something munged with the opt1-* data files so after removing the RRD-Summary package I did a second reset of the RRD data.

                Everything seems to have come back and I have Throughput graphs again.

                I've reinstalled RRD-Summary and will continue to watch as the summary stats will take at least an hour to build.

                -jfp

                1 Reply Last reply Reply Quote 0
                • D
                  divsys
                  last edited by

                  RRD-Summary traffic is beginning to appear and my Throughput graphs are definitely live as well.

                  I'm willing to chalk this one up to mangled RRD data (perhaps in conjunction with RRD Summary?).

                  Seems OK for me, the rest of the box is certainly stable and anything else (10+ and counting) I've upgraded to 2.2.5 has been fine.

                  -jfp

                  1 Reply Last reply Reply Quote 0
                  • arrmoA
                    arrmo
                    last edited by

                    Hmmm … tried another reset of the data here, just in case. Still no joy ... :-(. Is there a way to reinstall / "factory reset" RRD?

                    Thanks!

                    1 Reply Last reply Reply Quote 0
                    • D
                      divsys
                      last edited by

                      You could manually clear the RRD files to make sure that the "Reset RRD Data" does indeed clear everything.

                      The RRD data is in /var/db/rrd, you can just delete everything in that folder and then click on "Reset RRD Data" to make sure the files get rebuilt properly.

                      In my case I had already removed the RRD Summary package before I did a "full" reset.

                      You might try a manual wipe and see if the graphs come back, if not try and remove the Summary package and then do a manual wipe.
                      I was able to successfully add the Summary package back in after I got the Throughput graphs back

                      -jfp

                      1 Reply Last reply Reply Quote 0
                      • arrmoA
                        arrmo
                        last edited by

                        Very odd - I did a manual and full reset, restarted it all (without summary) … data shows up (in the directory), but still no plots. Is there a particular file to look at for throughput?

                        Thanks!

                        1 Reply Last reply Reply Quote 0
                        • arrmoA
                          arrmo
                          last edited by

                          Still fighting with this … :(. Seems it's only the throughput graphs that are broken - all the other RRD plots are fine.

                          Is there a way to manually "review" the throughput data?

                          Thanks!

                          1 Reply Last reply Reply Quote 0
                          • arrmoA
                            arrmo
                            last edited by

                            FYI, still not working on (fresh upgrade) to 2.2.6.

                            Thoughts?

                            Thanks!

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