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

    Mbuf RRD graph, dashboard meter

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    22 Posts 9 Posters 6.9k 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 Offline
      jimp Rebel Alliance Developer Netgate
      last edited by

      @Derelict:

      Any way to get this kind of info on DHCP lease pools?

      No. The calculations would be fuzzy at best, and it would involve parsing the entire DHCP leases file (which can be huge) once a minute.

      Maybe if someone figures out a way to get the pool utilization stats from DHCPD directly (omapi?)

      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
      • jimpJ Offline
        jimp Rebel Alliance Developer Netgate
        last edited by

        @adam65535:

        I really like that you made the colors very different from each other.Ā  I wish all the other graphs did the same.Ā  It is very hard to tell the different between some of them like the states and the queues.

        Yep, that was the idea… The other graphs do need better colors but thus far nobody has gone through the trouble of trying/finding new or better ones. It's not difficult, just not high on anyone's list of priorities. Check out rrdcolors.inc.php in every theme.

        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
        • jimpJ Offline
          jimp Rebel Alliance Developer Netgate
          last edited by

          @adam65535:

          This is why I am glad you used different colors… Ā See the queues screenshot below. Ā It is nearly impossible to tell the difference between most of the red colors below.

          gitsync or try a snapshot from tomorrow.

          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
          • D Offline
            doktornotor Banned
            last edited by

            @jimp:

            gitsync or try a snapshot from tomorrow.

            Much better now… :)

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

              I'm torn because on the one hand, it makes them easy to distinguish, but on the other, I think it could look better with some better color choices than I made.

              I documented the RRD color files pretty well when I did the update so if someone wants to come up with some variations (perhaps different colors for different themes), it should be much easier to jump in and figure out what goes where now.

              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
              • D Offline
                doktornotor Banned
                last edited by

                @jimp:

                I'm torn because on the one hand, it makes them easy to distinguish, but on the other, I think it could look better with some better color choices than I made.

                Maybe you could find these tools handy for further tweaking:
                http://www.colorschemer.com/online.html

                1 Reply Last reply Reply Quote 0
                • A Offline
                  adam65535
                  last edited by

                  @jimp:

                  I'm torn because on the one hand, it makes them easy to distinguish, but on the other, I think it could look better with some better color choices than I made.

                  Thanks again for that.Ā  I will check it out after the next snapshot for sure.Ā  I vote for functionality over color matching any day :).Ā  I like them being as different as can be.Ā  If you can't easily tell the difference between them then the graphs are just eye candy :).

                  1 Reply Last reply Reply Quote 0
                  • K Offline
                    Klaws
                    last edited by

                    I once edited the RRD GUI so I could seelct my own colors from a drop-down listbox of predefined colors (plus a "default" entry to reatin the theme's native color). I only provided this option for the Queue and Queue Drop colors and, boy, it already cluttered up the RDRD Settings page.

                    However, if anyone thinks that's an approach to pursue further, I could try to dig up my changes again. However, I'd need assistance with the GUI design, so it looks less butt-ugly.

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      adam65535
                      last edited by

                      The color changes make the graphs so much more useful now.Ā  It is very easy to tell the difference between all of the stats on all of the graphs.Ā  I had to pretty much guess before but now it is very obvious which ones are which.

                      Thanks again!

                      1 Reply Last reply Reply Quote 0
                      • K Offline
                        Klaws
                        last edited by

                        Wow, that's pretty cool. I've always thought that one of my traffic shaper queues was running rogue (but never saw it as an important enough issue to alayze and fix). Now I can see that nothing is running rogue, it was just my partially impaired color-vision.

                        Yes, the observant reader might have noticed that I have mucked about with the GUI to add options to change the queue colors. Of course, I shot my changes with a careless firmware update a day or two later :-), and never bothered enough to retrieve the changes from the backup.

                        1 Reply Last reply Reply Quote 0
                        • pttP Offline
                          ptt Rebel Alliance
                          last edited by

                          Have noticed this error Ā ??? Ā in "Status: System logs: General" :

                          
                          php: rc.bootup: The command '/usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/system-mbuf.rrd N:U:U:U:U:U' returned exit code '1', the output was 'ERROR: expected 4 data source readings (got 5) from N:U:U:U:U:U'
                          
                          

                          it seems to be harmless, but posted, just in case ;)

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

                            I saw it once, but haven't located the cause.

                            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
                            • N Offline
                              NOYB
                              last edited by

                              /etc/inc/rrd.inc line 720

                              Is
                              mwexec("$rrdtool update $rrddbpath$ifname$mbuf N:U:U:U:U:U");

                              Should be
                              mwexec("$rrdtool update $rrddbpath$ifname$mbuf N:U:U:U:U");

                              1 Reply Last reply Reply Quote 0
                              • pttP Offline
                                ptt Rebel Alliance
                                last edited by

                                ^
                                Ā  Yep.. thats did the trickĀ  ;)

                                1 Reply Last reply Reply Quote 0
                                • J Offline
                                  johnnybe
                                  last edited by

                                  @jimp:

                                  I'm torn because on the one hand, it makes them easy to distinguish, but on the other, I think it could look better with some better color choices than I made.

                                  I documented the RRD color files pretty well when I did the update so if someone wants to come up with some variations (perhaps different colors for different themes), it should be much easier to jump in and figure out what goes where now.

                                  A long time ago I posted about the default colors of the RRD. Even I made some suggestions at that time:
                                  http://forum.pfsense.org/index.php/topic,16463.msg85559.html#msg85559

                                  Also, check my last post in this topic above.

                                  Check this one as well, for pfSense 2.1-RC0. This topic is in Portuguese, but easy to understand:
                                  http://forum.pfsense.org/index.php/topic,55664.msg297449.html#msg297449

                                  I'm just trying to share and help.

                                  you would not believe the view up here

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