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

    RRD Graphs

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    72 Posts 19 Posters 34.2k 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.
    • jimpJ
      jimp Rebel Alliance Developer Netgate
      last edited by

      Just look at:

      ls /var/db/rrd/

      If the timestamps are current, the files are being touched.

      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
      • J
        Jonb
        last edited by

        -rw-r–r--  1 root  wheel  47608 Aug  5 19:51 GW_WAN-quality.rrd
        -rw-r--r--  1 root  wheel  194776 Aug  5 19:52 ipsec-packets.rrd
        -rw-r--r--  1 root  wheel  194776 Aug  5 19:52 ipsec-traffic.rrd
        -rw-r--r--  1 root  wheel  194776 Aug  5 19:52 lan-packets.rrd
        -rw-r--r--  1 root  wheel  194776 Aug  5 19:52 lan-traffic.rrd
        -rw-r--r--  1 root  wheel  194776 Aug  5 19:52 opt1-packets.rrd
        -rw-r--r--  1 root  wheel  65672 Aug  5 10:16 opt1-quality.rrd
        -rw-r--r--  1 root  wheel  194776 Aug  5 19:52 opt1-traffic.rrd
        -rw-r--r--  1 root  wheel  194776 Aug  5 10:16 opt2-packets.rrd
        -rw-r--r--  1 root  wheel  65672 Aug  5 10:16 opt2-quality.rrd
        -rw-r--r--  1 root  wheel  194776 Aug  5 10:16 opt2-traffic.rrd
        -rw-r--r--  1 root  wheel  194776 Aug  5 19:52 ovpns1-packets.rrd
        -rw-r--r--  1 root  wheel  194776 Aug  5 19:52 ovpns1-traffic.rrd
        -rw-r--r--  1 root  wheel  49120 Aug  5 19:51 ovpns1-vpnusers.rrd
        -rw-r--r--  1 root  wheel  97672 Aug  5 10:16 ppp-cellular.rrd
        -rw-r--r--  1 root  wheel  727424 Aug  5 19:51 system-memory.rrd
        -rw-r--r--  1 root  wheel  487424 Aug  5 19:51 system-processor.rrd
        -rw-r--r--  1 root  wheel  487424 Aug  5 19:51 system-states.rrd
        -rw-r--r--  1 root  wheel    4974 Aug  5 19:13 updaterrd.sh
        -rw-r--r--  1 root  wheel  194776 Aug  5 19:52 wan-packets.rrd
        -rw-r--r--  1 root  wheel  65672 Aug  5 10:16 wan-quality.rrd
        -rw-r--r--  1 root  wheel  388984 Aug  5 10:16 wan-queuedrops.rrd
        -rw-r--r--  1 root  wheel  388984 Aug  5 10:16 wan-queues.rrd
        -rw-r--r--  1 root  wheel  194776 Aug  5 19:52 wan-traffic.rrd

        Strange as the wan-quality is the one that works

        Hosted desktops and servers with support without complication.
        www.blueskysystems.co.uk

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

          It's also one being updated: 19:51 GW_WAN-quality.rrd

          :-)

          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
          • J
            Jonb
            last edited by

            So is this a graph drawing issue.

            Hosted desktops and servers with support without complication.
            www.blueskysystems.co.uk

            1 Reply Last reply Reply Quote 0
            • J
              Jonb
              last edited by

              Strange what is going on.

              sizes are the same as well

              -rw-r–r--  1 root  wheel  47608 Aug  5 20:20 GW_WAN-quality.rrd
              -rw-r--r--  1 root  wheel  194776 Aug  5 20:21 ipsec-packets.rrd
              -rw-r--r--  1 root  wheel  194776 Aug  5 20:21 ipsec-traffic.rrd
              -rw-r--r--  1 root  wheel  194776 Aug  5 20:21 lan-packets.rrd
              -rw-r--r--  1 root  wheel  194776 Aug  5 20:21 lan-traffic.rrd
              -rw-r--r--  1 root  wheel  194776 Aug  5 20:21 opt1-packets.rrd
              -rw-r--r--  1 root  wheel  65672 Aug  5 10:16 opt1-quality.rrd
              -rw-r--r--  1 root  wheel  194776 Aug  5 20:21 opt1-traffic.rrd
              -rw-r--r--  1 root  wheel  194776 Aug  5 10:16 opt2-packets.rrd
              -rw-r--r--  1 root  wheel  65672 Aug  5 10:16 opt2-quality.rrd
              -rw-r--r--  1 root  wheel  194776 Aug  5 10:16 opt2-traffic.rrd
              -rw-r--r--  1 root  wheel  194776 Aug  5 20:21 ovpns1-packets.rrd
              -rw-r--r--  1 root  wheel  194776 Aug  5 20:21 ovpns1-traffic.rrd
              -rw-r--r--  1 root  wheel  49120 Aug  5 20:20 ovpns1-vpnusers.rrd
              -rw-r--r--  1 root  wheel  97672 Aug  5 10:16 ppp-cellular.rrd
              -rw-r--r--  1 root  wheel  727424 Aug  5 20:20 system-memory.rrd
              -rw-r--r--  1 root  wheel  487424 Aug  5 20:20 system-processor.rrd
              -rw-r--r--  1 root  wheel  487424 Aug  5 20:20 system-states.rrd
              -rw-r--r--  1 root  wheel    5780 Aug  5 20:07 updaterrd.sh
              -rw-r--r--  1 root  wheel  194776 Aug  5 20:21 wan-packets.rrd
              -rw-r--r--  1 root  wheel  65672 Aug  5 10:16 wan-quality.rrd
              -rw-r--r--  1 root  wheel  340432 Aug  5 20:16 wan-queuedrops.rrd
              -rw-r--r--  1 root  wheel  340432 Aug  5 20:16 wan-queues.rrd
              -rw-r--r--  1 root  wheel  194776 Aug  5 20:21 wan-traffic.rrd

              status_rrd_graph_img.php.png
              status_rrd_graph_img.php.png_thumb

              Hosted desktops and servers with support without complication.
              www.blueskysystems.co.uk

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

                RRD files are round-robin database files (hence RRD) which remain a consistent size as they store rotating (round-robin) data. So if they will maintain history for a year, they start big enough to hold a year's worth of data and never grow or shrink, they are just updated with new data at the proper place. Hence the same file sizes.

                David Szpunar

                1 Reply Last reply Reply Quote 0
                • C
                  cmb
                  last edited by

                  Jim fixed a permissions issue today that should fix the quality graphs.
                  https://rcs.pfsense.org/projects/pfsense/repos/mainline/commits/3d83f02e958a52e35cf098a3cd3f7031f53d69a0

                  though that only applies when the directory is created. May need something to fix permissions on existing directories. To manually fix, run:

                  chown nobody:wheel /var/db/rrd/*quality*.rrd
                  
                  1 Reply Last reply Reply Quote 0
                  • J
                    Jonb
                    last edited by

                    Ok fair enough so the files size shouldn't change. So how would I delve into the problem more to see if it is a graphing issue or data issue.

                    Hosted desktops and servers with support without complication.
                    www.blueskysystems.co.uk

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

                      @cmb:

                      Jim fixed a permissions issue today that should fix the quality graphs.
                      https://rcs.pfsense.org/projects/pfsense/repos/mainline/commits/3d83f02e958a52e35cf098a3cd3f7031f53d69a0

                      though that only applies when the directory is created. May need something to fix permissions on existing directories. To manually fix, run:

                      chown nobody:wheel /var/db/rrd/*quality*.rrd
                      

                      In addition to that, you want to change the permissions on the directory itself:

                      chown nobody:wheel /var/db/rrd/
                      

                      Or combine the two:

                      chown -R nobody:wheel /var/db/rrd/
                      

                      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
                      • M
                        marrandy
                        last edited by

                        @jimp:

                        Or combine the two:

                        chown -R nobody:wheel /var/db/rrd/
                        

                        2.0-BETA4
                        built on Fri Aug 6 01:44:17 EDT 2010
                        FreeBSD 8.1-RELEASE

                        Tried that and even rebooted - Quality still isn't working.

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

                          That will be a no-op on NanoBSD if you reboot after doing it. /var is a RAM disk. You'd need to be on the latest snapshot (I think it should have the fix) before that will work.

                          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
                          • M
                            marrandy
                            last edited by

                            @jimp:

                            That will be a no-op on NanoBSD if you reboot after doing it. /var is a RAM disk. You'd need to be on the latest snapshot (I think it should have the fix) before that will work.

                            That is the latest snapshot.

                            I only rebooted as its still blank.

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

                              I found another bug, but it's definitely fixed now. :-)

                              Either apply this by hand, or wait for the next new snapshot:
                              https://rcs.pfsense.org/projects/pfsense/repos/mainline/commits/21934843352aa1dee730f59b06d35f1619c0ab3e

                              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
                              • M
                                marrandy
                                last edited by

                                I'll wait for the next update.

                                I'm just testing and providing feedback.

                                Thanks !!!

                                1 Reply Last reply Reply Quote 0
                                • M
                                  marrandy
                                  last edited by

                                  Sorry.  Been away.

                                  Just updated to

                                  2.0-BETA4
                                  built on Sun Aug 8 11:22:28 EDT 2010
                                  FreeBSD 8.1-RELEASE

                                  Graphs are looking good.

                                  1 Reply Last reply Reply Quote 0
                                  • J
                                    Jonb
                                    last edited by

                                    Still no good for me.

                                    Hosted desktops and servers with support without complication.
                                    www.blueskysystems.co.uk

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      Jonb
                                      last edited by

                                      Anything else I can try. I have the snapshot from sunday etc.

                                      Hosted desktops and servers with support without complication.
                                      www.blueskysystems.co.uk

                                      1 Reply Last reply Reply Quote 0
                                      • C
                                        ColdFusion
                                        last edited by

                                        Today's seem fine…2.0-BETA4
                                        built on Tue Aug 10 02:57:56 EDT 2010

                                        1 Reply Last reply Reply Quote 0
                                        • J
                                          Jonb
                                          last edited by

                                          I did another full delete of the RRD graphs and left in for 15 mins. The graphs only captured 2 mins worth of data and then stopped.

                                          Hosted desktops and servers with support without complication.
                                          www.blueskysystems.co.uk

                                          1 Reply Last reply Reply Quote 0
                                          • J
                                            Jonb
                                            last edited by

                                            Am I best off rolling back to 2.0 beta 1 when it worked?

                                            Hosted desktops and servers with support without complication.
                                            www.blueskysystems.co.uk

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