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

      I just did a new install a couple days ago. Once i installed it and got the basic settings done, my RRD graphs were working. Now I dont know what i did, or what happened. My RRD graphs render without any data.

      So if someone knows why could have gone wrong please advise.

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

        I just reset it to factory defaults and still the RRD graphs dont render any data.

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

          anything RRD-related in the system log?

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

            if rrdtool is a part of rrd then yes, iam not sure if this is a package i downloaded or if its the actually RRD.

            here is a sample:

            Jan 2 14:02:42 apinger: rrdtool respawning too fast, waiting 300s.
            Jan 2 14:01:42 apinger: Error while feeding rrdtool: Broken pipe

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

              those two are normal and not a problem, anything else?

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

                i only checked in my last 100 enteries. let me know if you need me to check more.

                1/2/2013 14:00 php: : Creating rrd update script
                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)'
                1/2/2013 14:00 php: : The command '/usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/system-processor.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)'
                1/2/2013 14:00 php: : The command '/usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/system-states.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 1388476871 (minimum one second step)'
                1/2/2013 14:00 php: : The command '/usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/ipsec-packets.rrd N: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)'
                1/2/2013 14:00 php: : The command '/usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/ipsec-traffic.rrd N: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)'
                1/2/2013 14:00 php: : The command '/usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/lan-packets.rrd N: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)'
                1/2/2013 14:00 php: : The command '/usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/lan-traffic.rrd N: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)'
                1/2/2013 14:00 php: : The command '/usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/wan-packets.rrd N: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)'
                1/2/2013 14:00 php: : The command '/usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/wan-traffic.rrd N: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)'

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

                  oh Hi Chris, i didnt realize it was you. I didnt think you were this active in the forums. i found out about pfsense through a video on youtube that you were on. THANX, pfsense is awesome.

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

                    Your system time is set in the future and the time pfsense is trying to set it, which is the current date is giving you that error.

                    Go to Status/RRD Graphs/Settings

                    Untick "Enables the RRD graphing backend." and hit save, then tick the same option and hit save again, it should stop you getting those errors and fix the RRD graphs for you, if not drop to the console and remove the files manually….delete anything that ends .rrd in /var/db/rrd/

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

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

                      I did the untick and re tick. i did factory defaults. and still nothing.

                      i can try to delete the files u are talking about.

                      1 Reply Last reply Reply Quote 0
                      • 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.