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

    Possible to have improved RRD Graphs?

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 1.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.
    • B
      burnsl
      last edited by

      I have seen a lot of great data from the RRD stand-alone package and just one glance at the gallery:
      http://oss.oetiker.ch/rrdtool/gallery/index.en.html

      …is IMPRESSIVE.

      Certainly there is a way to get even better graphs and data from RRD in pfSense, no?

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

        The graphs are similar to what pfSense offers with the exception of the colour scheme.

        You need to toggle the RRD graphs between inverse and absolute to get either filled or line graphs.

        To change the colours of the graphed data, go to:
        /usr/local/www/themes/<name of="" theme="" you="" are="" using="">/rrdcolors.inc.php

        Change the colours for the graphs by editing the colour hex code in the arrays defined:

        $colortrafficup = "666666";
        $colortrafficdown = "990000";
        $colorpacketsup = "666666";
        $colorpacketsdown = "990000";
        $colorstates = array('990000','a83c3c','b36666','bd9090','cccccc','000000');
        $colorprocessor = array('990000','a83c3c','b36666','bd9090','cccccc','000000');
        $colorqueuesup = array('000000','7B0000','990000','BB0000','CC0000','D90000','EE0000','FF0000','CC0000');
        $colorqueuesdown = array('000000','7B7B7B','999999','BBBBBB','CCCCCC','D9D9D9','EEEEEE','FFFFFF','CCCCCC');
        $colorqueuesdropup = array('000000','7B0000','990000','BB0000','CC0000','D90000','EE0000','FF0000','CC0000');
        $colorqueuesdropdown = array('000000','7B7B7B','999999','BBBBBB','CCCCCC','D9D9D9','EEEEEE','FFFFFF','CCCCCC');
        $colorqualityrtt = array('990000','a83c3c','b36666','bd9090','cccccc','000000');
        $colorqualityloss = "ee0000";
        $colorspamdtime = array('DDDDFF', 'AAAAFF', 'DDDDFF', '000066');
        $colorspamdconn = array('00AA00BB', 'FFFFFFFF', '00660088', 'FFFFFF88', '006600');
        

        This link should be helpful for finding replacement (web-safe) colour hex codes:
        http://html-color-codes.com/</name>

        1 Reply Last reply Reply Quote 0
        • B
          burnsl
          last edited by

          Thanks, and I'll look into this, but i'm not interested in only changing the look, but the graphs that are reported.

          Any thoughts on this?

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

            Theoretically possible if you write your own scripts & php page(s) to handle it.

            Might be easier to use SNMP and setup a trap to capture the information and parse it into MRTG or RRD graphs (that's how those graphs in your example work but with a Cisco router instead).  Not sure what the OIDs for pfSense correspond to though.  You'll need to play around with this.

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

              Hello all. I read that topic and tray to change some colors in file but after i refresh the browser noting is changed. Were i am wrong?

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