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

    RRD Graphs are empty

    Scheduled Pinned Locked Moved General pfSense Questions
    20 Posts 3 Posters 12.5k 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.
    • S
      Slam
      last edited by

      @mskenderian:

      How is my system time set to the future? I dont see a problem with the time.

      Sorry I should of said the time in your RRD graphs files are set in the future, this is why youre getting this error

      @mskenderian:

      1/2/2013 14:00 php: : The command '/usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/system-memory.rrd N:U:U:U:U:U' returned exit code '1', the output was 'ERROR: illegal attempt to update using time 1357164048 when last update time is 1388476870 (minimum one second step)'

      http://www.onlineconversion.com/unix_time.htm

      New update time: 1357164048 = Wed, 02 Jan 2013 22:00:48 GMT
      Last update time: 1388476870 = Tue, 31 Dec 2013 08:01:10 GMT

      Delete those files I mentioned earlier and press save in the gui for Status/RRD Graphs/Settings

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

        Thank you very much. looks like its all working except the for the Quality Tab….

        1 Reply Last reply Reply Quote 0
        • S
          Slam
          last edited by

          Maybe give it some time to regenerate some data, if you still have no joy trying deleting *-quality.rrd in /var/db/rrd and dont forget to press save in the gui as well, JIC

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

            I will wait a day and report back. but let me just say, before this fix, i had empty charts, now in Quality i dont even have a empty chart. it doesnt show the chart at all.

            1 Reply Last reply Reply Quote 0
            • S
              Slam
              last edited by

              You dont need a day, even the smallest of traffic will generate something within 10 mins, the reason you dont see anything at all in the quality chart is because it pulls the data from the rrd files you deleted earlier…

              check if there are any and the size of the *-quality.rrd files in /var/db/rrd

              ls -l
              

              Give the firewall a reboot and check the size of those files again, they should have changed and you should see some graphs for quality, if not report back.

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

                there is not file with quality in it. i will reboot now. and report again.

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

                  Looks like the reboot did it. now i have the chart back and the file exists.

                  but again no data in the charts. How do i check file size? Sorry iam new.

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

                    just say the code. here is the files that show up after the reboot.

                    -rw-r–r--  1 nobody  wheel  47608 Jan  3 01:37 WAN-quality.rrd
                    -rw-r--r--  1 nobody  wheel  194776 Jan  3 01:41 ipsec-packets.rrd
                    -rw-r--r--  1 nobody  wheel  194776 Jan  3 01:41 ipsec-traffic.rrd
                    -rw-r--r--  1 nobody  wheel  194776 Jan  3 01:41 lan-packets.rrd
                    -rw-r--r--  1 nobody  wheel  194776 Jan  3 01:41 lan-traffic.rrd
                    -rw-r--r--  1 nobody  wheel  727424 Jan  3 01:41 system-memory.rrd
                    -rw-r--r--  1 nobody  wheel  243328 Jan  3 01:41 system-processor.rrd
                    -rw-r--r--  1 nobody  wheel  243328 Jan  3 01:41 system-states.rrd
                    -rw-r--r--  1 root    wheel    3602 Jan  3 01:37 updaterrd.sh
                    -rw-r--r--  1 nobody  wheel  194776 Jan  3 01:41 wan-packets.rrd
                    -rw-r--r--  1 nobody  wheel  194776 Jan  3 01:41 wan-traffic.rrd

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

                      OK sorry for the fast response. BUT its working now. now i see the chart with the data. thank you very much for you help.

                      1 Reply Last reply Reply Quote 0
                      • S
                        Slam
                        last edited by

                        Glad you got it working, for future reference/knowledge the red coloured field is the file size

                        @mskenderian:

                        just say the code. here is the files that show up after the reboot.

                        -rw-r–r--  1 nobody  wheel  47608 Jan  3 01:37 WAN-quality.rrd
                        -rw-r–r--  1 nobody  wheel  194776 Jan  3 01:41 ipsec-packets.rrd
                        -rw-r--r--  1 nobody  wheel  194776 Jan  3 01:41 ipsec-traffic.rrd
                        -rw-r--r--  1 nobody  wheel  194776 Jan  3 01:41 lan-packets.rrd
                        -rw-r--r--  1 nobody  wheel  194776 Jan  3 01:41 lan-traffic.rrd
                        -rw-r--r--  1 nobody  wheel  727424 Jan  3 01:41 system-memory.rrd
                        -rw-r--r--  1 nobody  wheel  243328 Jan  3 01:41 system-processor.rrd
                        -rw-r--r--  1 nobody  wheel  243328 Jan  3 01:41 system-states.rrd
                        -rw-r--r--  1 root    wheel    3602 Jan  3 01:37 updaterrd.sh
                        -rw-r--r--  1 nobody  wheel  194776 Jan  3 01:41 wan-packets.rrd
                        -rw-r--r--  1 nobody  wheel  194776 Jan  3 01:41 wan-traffic.rrd

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

                          I got some more issues now.

                          I changed the system network cards around, and i wanted to reset the RRD data.

                          now that i did that. under quality tab and then graph i dont see LAN, LAN2, WAN.. i just see allgraphs, and outbound, i did a restart now i see LAN2, but LAN and WAN is missing.

                          Any ideas. i checked. the /var/db/rrd folder i do see WAN-qaulity.rrd

                          i went to the interfaces and completely disabled LAN2. stoped RRD, cleared data, started RRD. and now same thing i see the wan-quality.rrd file and in the graphs i see LAN2, i think at one point the current LAN2 was my WAN2, and now my current lan2 is my wan, and my current wan is my old wan2.

                          if that makes any sense?

                          so i think its grabbing the old names.. how can i fix this?

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