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.
    • A Offline
      athurdent
      last edited by

      Just gitsynced, looks good. But my graph says "utilization, percent" and seems to display the actual MBUF size, not in percent.

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

        Fixed, thanks!

        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
        • A Offline
          adam65535
          last edited by

          You rock man… this will be very helpful I think.  I just mentioned something like this a few days ago at the link below.  Are you psychic?
          http://forum.pfsense.org/index.php/topic,64272.msg348934.html#msg348934

          I hope that someday (maybe 2.2 or 2.3) someone with development skills and the spare time might find it important to have alert thresholds for some of these monitored values.  I would love to get an alert from a site that was approaching limits like this.  It would be awesome to detect the impending problem before it causes issues.

          Thanks again for this!

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

            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.

            1 Reply Last reply Reply Quote 0
            • DerelictD Offline
              Derelict LAYER 8 Netgate
              last edited by

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

              Chattanooga, Tennessee, USA
              A comprehensive network diagram is worth 10,000 words and 15 conference calls.
              DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
              Do Not Chat For Help! NO_WAN_EGRESS(TM)

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

                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.

                ![Screenshot at 2013-07-17 19:19:31.png](/public/imported_attachments/1/Screenshot at 2013-07-17 19:19:31.png)
                ![Screenshot at 2013-07-17 19:19:31.png_thumb](/public/imported_attachments/1/Screenshot at 2013-07-17 19:19:31.png_thumb)

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