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

    RRD not graphing

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    41 Posts 16 Posters 14.6k 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.
    • C
      clarknova
      last edited by

      2.0-BETA4 (amd64)
      built on Thu Dec 23 20:58:09 EST 2010

      Now this

      php: /status_rrd_graph_img.php: Failed to create graph with error code 1, the error is: ERROR: start (1293202800) should be less than end (1293175813)/usr/bin/nice -n20 /usr/local/bin/rrdtool graph /tmp/wan-traffic.rrd-8hour.png --start 1293202800 --end 1293175813 --vertical-label "bits/sec" --color SHADEA#eeeeee --color SHADEB#eeeeee --title "`hostname` - WAN :: Traffic - 8 hours - 1 minute average" --height 200 --width 620 DEF:wan-in_bytes_pass=/var/db/rrd/wan-traffic.rrd:inpass:AVERAGE DEF:wan-out_bytes_pass=/var/db/rrd/wan-traffic.rrd:outpass:AVERAGE DEF:wan-in_bytes_block=/var/db/rrd/wan-traffic.rrd:inblock:AVERAGE DEF:wan-out_bytes_block=/var/db/rrd/wan-traffic.rrd:outblock:AVERAGE CDEF:"wan-in_bits_pass=wan-in_bytes_pass,8,*" CDEF:"wan-out_bits_pass=wan-out_bytes_pass,8,*" CDEF:"wan-in_bits_block=wan-in_bytes_block,8,*" CDEF:"wan-out_bits_block=wan-out_bytes_block,8,*" CDEF:"wan-in_bytes=wan-in_bytes_pass,wan-in_bytes_block,+" CDEF:"wan-out_bytes=wan-out_bytes_pass,wan-out_bytes_blo
      

      Some of the graphs show up. Others are blurred out with a big red message to see the log.

      db

      1 Reply Last reply Reply Quote 0
      • A
        andrew0401
        last edited by

        Current build (2nd build dated to-day) has gone back to

        Parse error: syntax error, unexpected '{' in /usr/local/www/status_rrd_graph.php on line 243

        Regards

        Andrew

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

          Is this still happening for anyone on current snapshots? It works fine on a VM running a snapshot from early this AM.

          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
            mromero
            last edited by

            On one box which I have not upgraded due to the latest snapshot with the broken Unbound DNS package installer the RRD Graphs work fine.

            On the other box where I did a fresh install of the 26 December build, but which curiously has a date file of the 25 the December the RRD graphs are broken. i38

            @jimp:

            Is this still happening for anyone on current snapshots? It works fine on a VM running a snapshot from early this AM.

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

              @mromero:

              On the other box where I did a fresh install of the 26 December build, but which curiously has a date file of the 25 the December the RRD graphs are broken. i38

              The same error message or something different?

              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
              • F
                FisherKing
                last edited by

                RRD appears to be working on my box.  Didn't check all of the interfaces, but did test the tabs.

                2.0-BETA5 (i386)
                built on Sun Dec 26 01:43:40 EST 2010

                1 Reply Last reply Reply Quote 0
                • L
                  louis-m
                  last edited by

                  confirmed working on 25/12 x32 nano 4g snap. when i first applied the fix detailed on this thread (prior to the updated snap), the graph showed but i had to reboot to get it to graph.

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

                    just to share that I've gotten this from RRD:

                    php: /status_rrd_graph_img.php: Failed to create graph with error code 1, the error is: ERROR: start (1293494400) should be less than end (1293487534)/usr/bin/nice -n20 /usr/local/bin/rrdtool graph /tmp/opt1-traffic.rrd-8hour.png –start 1293494400 --end 1293487534 --vertical-label "bits/sec" --color SHADEA#eeeeee --color SHADEB#eeeeee --title "hostname - WAN2 :: Traffic - 2 hours - 1 minute average" --height 200 --width 620 DEF:opt1-in_bytes_pass=/var/db/rrd/opt1-traffic.rrd:inpass:AVERAGE DEF:opt1-out_bytes_pass=/var/db/rrd/opt1-traffic.rrd:outpass:AVERAGE DEF:opt1-in_bytes_block=/var/db/rrd/opt1-traffic.rrd:inblock:AVERAGE DEF:opt1-out_bytes_block=/var/db/rrd/opt1-traffic.rrd:outblock:AVERAGE CDEF:"opt1-in_bits_pass=opt1-in_bytes_pass,8," CDEF:"opt1-out_bits_pass=opt1-out_bytes_pass,8," CDEF:"opt1-in_bits_block=opt1-in_bytes_block,8," CDEF:"opt1-out_bits_block=opt1-out_bytes_block,8," CDEF:"opt1-in_bytes=opt1-in_bytes_pass,opt1-in_bytes_block,+" CDEF:"opt1-out_bytes=opt1-out_bytes

                    I wonder if this is updated in the latest snapshot (today)

                    1 Reply Last reply Reply Quote 0
                    • A
                      Accounts
                      last edited by

                      Same here with todays (28th Dec, 2010) snapshot.

                      php: /status_rrd_graph_img.php: Failed to create graph with error code 1, the error is: ERROR: start (1293523200) should be less than end (1293498069)/usr/bin/nice -n20 /usr/local/bin/rrdtool graph /tmp/wan-traffic.rrd-8hour.png –start 1293523200 --end 1293498069 --vertical-label "bits/sec" --color SHADEA#eeeeee --color SHADEB#eeeeee --title "hostname - WAN :: Traffic - 7 hours - 1 minute average" --height 200 --width 620 DEF:wan-in_bytes_pass=/var/db/rrd/wan-traffic.rrd:inpass:AVERAGE DEF:wan-out_bytes_pass=/var/db/rrd/wan-traffic.rrd:outpass:AVERAGE DEF:wan-in_bytes_block=/var/db/rrd/wan-traffic.rrd:inblock:AVERAGE DEF:wan-out_bytes_block=/var/db/rrd/wan-traffic.rrd:outblock:AVERAGE CDEF:"wan-in_bits_pass=wan-in_bytes_pass,8," CDEF:"wan-out_bits_pass=wan-out_bytes_pass,8," CDEF:"wan-in_bits_block=wan-in_bytes_block,8," CDEF:"wan-out_bits_block=wan-out_bytes_block,8," CDEF:"wan-in_bytes=wan-in_bytes_pass,wan-in_bytes_block,+" CDEF:"wan-out_bytes=wan-out_bytes_pass,wan-out_bytes_blo

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

                        Jimp, the error I was getting was the same as quoted by another user:

                        "Some of the graphs show up. Others are blurred out with a big red message to see the log."

                        On first upgrade to  today's  27 Dec build the graphs were running good, now about fours later I check and they are back with the same error as at above with the error on the first graph at the top.

                        This I simply do not understand. Wish I could be of more help  >:(

                        @jimp:

                        @mromero:

                        On the other box where I did a fresh install of the 26 December build, but which curiously has a date file of the 25 the December the RRD graphs are broken. i38

                        The same error message or something different?

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

                          Here is the error from the system log:

                          php: /status_rrd_graph_img.php: Failed to create graph with error code 1, the error is: ERROR: start (1293523200) should be less than end (1293504141)/usr/bin/nice -n20 /usr/local/bin/rrdtool graph /tmp/system-processor.rrd-8hour.png –start 1293523200 --end 1293504141 --vertical-label "utilization, number" --color SHADEA#eeeeee --color SHADEB#eeeeee --title "hostname - System :: Processor - 5 hours - 1 minute average" --height 200 --width 620 DEF:"user=/var/db/rrd/system-processor.rrd:user:AVERAGE" DEF:"nice=/var/db/rrd/system-processor.rrd:nice:AVERAGE" DEF:"system=/var/db/rrd/system-processor.rrd:system:AVERAGE" DEF:"interrupt=/var/db/rrd/system-processor.rrd:interrupt:AVERAGE" DEF:"processes=/var/db/rrd/system-processor.rrd:processes:AVERAGE" AREA:"user#990000:user" AREA:"nice#a83c3c:nice:STACK" AREA:"system#b36666:system:STACK" AREA:"interrupt#bd9090:interrupt:STACK" LINE2:"processes#cccccc:processes" COMMENT:"\n" COMMENT:" minimum average maximum current

                          1 Reply Last reply Reply Quote 0
                          • johnpozJ
                            johnpoz LAYER 8 Global Moderator
                            last edited by

                            Just updated to latest build
                            Version 2.0-BETA5 (i386)
                            built on Mon Dec 27 19:14:40 EST 2010

                            this is error
                            php: /status_rrd_graph_img.php: Failed to create graph with error code 1, the error is: ERROR: start (1293544800) should be less than end (1293517954)/usr/bin/nice -n20 /usr/local/bin/rrdtool graph /tmp/wan-traffic.rrd-8hour.png –start 1293544800 --end 1293517954 --vertical-label "bits/sec" --color SHADEA#eeeeee --color SHADEB#eeeeee --title "hostname - WAN :: Traffic - 7 hours - 1 minute average" --height 200 --width 620 DEF:wan-in_bytes_pass=/var/db/rrd/wan-traffic.rrd:inpass:AVERAGE DEF:wan-out_bytes_pass=/var/db/rrd/wan-traffic.rrd:outpass:AVERAGE DEF:wan-in_bytes_block=/var/db/rrd/wan-traffic.rrd:inblock:AVERAGE DEF:wan-out_bytes_block=/var/db/rrd/wan-traffic.rrd:outblock:AVERAGE CDEF:"wan-in_bits_pass=wan-in_bytes_pass,8," CDEF:"wan-out_bits_pass=wan-out_bytes_pass,8," CDEF:"wan-in_bits_block=wan-in_bytes_block,8," CDEF:"wan-out_bits_block=wan-out_bytes_block,8," CDEF:"wan-in_bytes=wan-in_bytes_pass,wan-in_bytes_block,+" CDEF:"wan-out_bytes=wan-out_bytes_pass,wan-out_bytes_blo

                            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 24.11 | Lab VMs 2.8, 24.11

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

                              @johnpoz:

                              Just updated to latest build
                              Version 2.0-BETA5 (i386)
                              built on Mon Dec 27 19:14:40 EST 2010

                              this is error
                              php: /status_rrd_graph_img.php: Failed to create graph with error code 1, the error is: ERROR: start (1293544800) should be less than end (1293517954)/usr/bin/nice -n20 /usr/local/bin/rrdtool graph /tmp/wan-traffic.rrd-8hour.png –start 1293544800 --end 1293517954 --vertical-label "bits/sec" --color SHADEA#eeeeee --color SHADEB#eeeeee --title "hostname - WAN :: Traffic - 7 hours - 1 minute average" --height 200 --width 620 DEF:wan-in_bytes_pass=/var/db/rrd/wan-traffic.rrd:inpass:AVERAGE DEF:wan-out_bytes_pass=/var/db/rrd/wan-traffic.rrd:outpass:AVERAGE DEF:wan-in_bytes_block=/var/db/rrd/wan-traffic.rrd:inblock:AVERAGE DEF:wan-out_bytes_block=/var/db/rrd/wan-traffic.rrd:outblock:AVERAGE CDEF:"wan-in_bits_pass=wan-in_bytes_pass,8," CDEF:"wan-out_bits_pass=wan-out_bytes_pass,8," CDEF:"wan-in_bits_block=wan-in_bytes_block,8," CDEF:"wan-out_bits_block=wan-out_bytes_block,8," CDEF:"wan-in_bytes=wan-in_bytes_pass,wan-in_bytes_block,+" CDEF:"wan-out_bytes=wan-out_bytes_pass,wan-out_bytes_blo

                              I've updated to latest snapshot and all went well :-)

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

                                Sometimes all my graphs show up fine, other times some graphs are blurred out. Seems like it was always shortly after midnight locally when this happened.

                                db

                                1 Reply Last reply Reply Quote 0
                                • johnpozJ
                                  johnpoz LAYER 8 Global Moderator
                                  last edited by

                                  The seems to have gone away this morning?  Updating now to the current snap..  Lets see if comes back?

                                  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 24.11 | Lab VMs 2.8, 24.11

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

                                    clarknova may be on to something, it may only show up during a specific time frame if there is an issue with date calculation.

                                    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
                                      jeebsion
                                      last edited by

                                      hrmm .. it happened again with latest snap:

                                      php: /status_rrd_graph_img.php: Failed to create graph with error code 1, the error is: ERROR: start (1293580800) should be less than end (1293553000)/usr/bin/nice -n20 /usr/local/bin/rrdtool graph /tmp/wan-traffic.rrd-8hour.png –start 1293580800 --end 1293553000 --vertical-label "bits/sec" --color SHADEA#eeeeee --color SHADEB#eeeeee --title "hostname - WAN :: Traffic - 8 hours - 1 minute average" --height 200 --width 620 DEF:wan-in_bytes_pass=/var/db/rrd/wan-traffic.rrd:inpass:AVERAGE DEF:wan-out_bytes_pass=/var/db/rrd/wan-traffic.rrd:outpass:AVERAGE DEF:wan-in_bytes_block=/var/db/rrd/wan-traffic.rrd:inblock:AVERAGE DEF:wan-out_bytes_block=/var/db/rrd/wan-traffic.rrd:outblock:AVERAGE CDEF:"wan-in_bits_pass=wan-in_bytes_pass,8," CDEF:"wan-out_bits_pass=wan-out_bytes_pass,8," CDEF:"wan-in_bits_block=wan-in_bytes_block,8," CDEF:"wan-out_bits_block=wan-out_bytes_block,8," CDEF:"wan-in_bytes=wan-in_bytes_pass,wan-in_bytes_block,+" CDEF:"wan-out_bytes=wan-out_bytes_pass,wan-out_bytes_blo

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

                                        got same issue under 2.0-BETA5 (i386) built on Sun Dec 26 01:43:40 EST 2010

                                        Dec 28 03:25:02 php: /status_rrd_graph_img.php: Failed to create graph with error code 1, the error is: ERROR: start (1293541200) should be less than end (1293524702)/usr/bin/nice -n20 /usr/local/bin/rrdtool graph /tmp/system-processor.rrd-8hour.png –start 1293541200 --end 1293524702 --vertical-label "utilization, number" --color SHADEA#eeeeee --color SHADEB#eeeeee --title "hostname - System :: Processor - 5 hours - 1 minute average" --height 200 --width 620 DEF:"user=/var/db/rrd/system-processor.rrd:user:AVERAGE" DEF:"nice=/var/db/rrd/system-processor.rrd:nice:AVERAGE" DEF:"system=/var/db/rrd/system-processor.rrd:system:AVERAGE" DEF:"interrupt=/var/db/rrd/system-processor.rrd:interrupt:AVERAGE" DEF:"processes=/var/db/rrd/system-processor.rrd:processes:AVERAGE" AREA:"user#990000:user" AREA:"nice#a83c3c:nice:STACK" AREA:"system#b36666:system:STACK" AREA:"interrupt#bd9090:interrupt:STACK" LINE2:"processes#cccccc:processes" COMMENT:"\n" COMMENT:" minimum average maximum current

                                        Dec 28 03:25:02 php: /status_rrd_graph_img.php: start 1293541200 is smaller than end 1293519019

                                        but in some hours in the day the graphic display ok.
                                        like now there is no error.

                                        rrdgraph_system_ok.png
                                        rrdgraph_system_ok.png_thumb

                                        1 Reply Last reply Reply Quote 0
                                        • AhnHELA
                                          AhnHEL
                                          last edited by

                                          When mine is blurred out, I just switch to Previous Period from Current Period and the graphs will display.

                                          AhnHEL (Angel)

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

                                            I checked in what might be a fix for this:

                                            https://rcs.pfsense.org/projects/pfsense/repos/mainline/commits/c23b4f0d80d389007cf058d0f17a65001a644811

                                            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
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.