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 33.7k 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.
    • _
      _igor_
      last edited by

      Quality graph still doesn't work. All other graphs are working.

      Only one small part of a graph is displayed, some time ago.

      I too have the message "php: /status_rrd_graph_img.php: rrdcolors.inc.php for theme metallic does not exist, using defaults!"

      quality.gif
      quality.gif_thumb

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

        The quality graph databases are updated from apinger, so if that's broken you will see that exact behaviour.

        The graphing front end can only work with the data in the RRD file.

        1 Reply Last reply Reply Quote 0
        • _
          _igor_
          last edited by

          hmmm, apinger works. Do you have any idea where to look? I'm a bit lost here. Since a new install of the beta3 never worked…

          1 Reply Last reply Reply Quote 0
          • I
            itsmorefun
            last edited by

            Hello

            With pfSense 2.0-BETA4 built on Sun Aug 1 20:29:11 EDT 2010 FreeBSD 8.1-RELEASE

            RDD graphs don't work:
            "There has been an error creating the graphs. Please check your systemlogs for further details."

            And in logs:
            Aug 2 16:33:24 php: /status_rrd_graph_img.php: rrdcolors.inc.php for theme pfsense_ng does not exist, using defaults!
            Aug 2 16:33:24 php: /status_rrd_graph_img.php: Failed to create graph with error code 1, the error is: ERROR: This RRD was created on other architecture/usr/bin/nice -n20 /usr/local/bin/rrdtool graph /tmp/system-processor.rrd-day.png –start 1280700000 --end 1280786400 --vertical-label "utilization, number" --color SHADEA#eeeeee --color SHADEB#eeeeee --title "hostname - System :: Processor - 1 day - 5 minutes 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\n" COMMENT:"Use
            Aug 2 16:33:24 php: /status_rrd_graph_img.php: rrdcolors.inc.php for theme pfsense_ng does not exist, using defaults!
            Aug 2 16:33:24 php: /status_rrd_graph_img.php: Failed to create graph with error code 1, the error is: ERROR: This RRD was created on other architecture/usr/bin/nice -n20 /usr/local/bin/rrdtool graph /tmp/system-processor.rrd-week.png --start 1280700000 --end 1281304800 --vertical-label "utilization, number" --color SHADEA#eeeeee --color SHADEB#eeeeee --title "hostname - System :: Processor - 1 week - 1 hour 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\n" COMMENT:"User
            Aug 2 16:33:24 php: /status_rrd_graph_img.php: rrdcolors.inc.php for theme pfsense_ng does not exist, using defaults!
            (...)

            Any Idea?

            Thank

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

              @itsmorefun:

              Aug 2 16:33:24 php: /status_rrd_graph_img.php: Failed to create graph with error code 1, the error is: ERROR: This RRD was created on other architecture

              Did you switch between 32 and 64-bit releases? You may just need to rm /var/db/rrd/* and then re-save on the RRD settings.

              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
              • I
                itsmorefun
                last edited by

                @jimp:

                @itsmorefun:

                Aug 2 16:33:24 php: /status_rrd_graph_img.php: Failed to create graph with error code 1, the error is: ERROR: This RRD was created on other architecture

                Did you switch between 32 and 64-bit releases?

                No… :-\

                @jimp:

                You may just need to rm /var/db/rrd/* and then re-save on the RRD settings.

                That work!

                Thank :-)

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

                  I just downloaded and am testing the latest update -pfSense-2.0-BETA4-4g-20100803-1244-nanobsd-upgrade.img.gz

                  I don't get the  'quality'  on the RRD graphs.

                  Any ideas or a fix yet ?

                  Thanks…its looking really good.

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

                    I went from beta 1 to beta 4 build 04/08/10 and that has broken the RRD graphs apart from from the quality one. I did delete all the rrd files then switch RRD off then back up, I saw it recreate the files but still didn't log anything. Is there anything else I can try to get it to work.

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

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

                      @Jonb:

                      I went from beta 1 to beta 4 build 04/08/10 and that has broken the RRD graphs apart from from the quality one. I did delete all the rrd files then switch RRD off then back up, I saw it recreate the files but still didn't log anything. Is there anything else I can try to get it to work.

                      Wait…it took several minutes before I saw anything.

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

                        Still no joys for me.

                        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

                          I fixed an issue with drawing of quality graphs on fresh installs and NanoBSD earlier today. It was too late for the next snapshot, but the one after should be OK.

                          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

                            Jim any ideas on the traffic graphs etc in my instance. Just to let you know when I deleted the rrd files and recreated them I then did a restore of the old rrd graphs.

                            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

                              Not that I know of, I haven't seen any problems with the other graphs, just the quality graph.

                              It may not be drawing the data in the graph where you expect though, the graphs start on hard boundaries now and if you catch them early in the day most of the current graph will be empty.

                              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

                                Is there a command I can use or anything I can do to see if they system is actually recording the data.

                                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

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