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

    How to change RRD Quality IP?

    Scheduled Pinned Locked Moved General pfSense Questions
    45 Posts 9 Posters 35.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.
    • H
      hoba
      last edited by

      Try to  reset the RRD graphs: http://forum.pfsense.org/index.php/topic,1748.msg10114.html#msg10114

      1 Reply Last reply Reply Quote 0
      • jahonixJ
        jahonix
        last edited by

        OK, I deleted what's in /var/db/rrd and rebooted the machine.
        Graphs for 'System', 'Traffic' and 'Packets' are starting from scratch (as expected) but quality isn't built at all any more.

        And the drop down box only shows 'Allgraphs' and 'Outbound' missing 'Wan' etc…

        I can live without the graphs if it's only affecting me but would try to investigate further if others have the same problem!

        rrd.jpg
        rrd.jpg_thumb

        1 Reply Last reply Reply Quote 0
        • H
          hoba
          last edited by

          Delete all the rrd database files. It should recreate everything from scratch on reboot.

          1 Reply Last reply Reply Quote 0
          • jahonixJ
            jahonix
            last edited by

            @hoba:

            Delete all the rrd database files. It should recreate everything from scratch on reboot.

            What more should I delete than what's in /var/db/rrd  ???

            1 Reply Last reply Reply Quote 0
            • H
              hoba
              last edited by

              I thought you only deleted the wan rrd graphs like described in the thread I posted. no matter then.

              1 Reply Last reply Reply Quote 0
              • S
                sbyoon
                last edited by

                I think I found the solution for RRD Quality gateway ip change with just slightly changing "/etc/inc/pfsense-utils.inc" file.

                Here is my solution.

                1. Open "/etc/inc/pfsense-utils.inc" at "Diagnostics -> Edit File" and then find below line.

                $monitorip = $config['system']['interfaces'][$ifname]['use_rrd_gateway'];

                2. Then, change this line to below and then save it.

                $monitorip = $config['interfaces'][$ifname]['use_rrd_gateway'];

                3. And open "/cf/conf/config.xml" and add "<use_rrd_gateway>XXX.XXX.XXX.XXX</use_rrd_gateway>" into <interfaces><wan>instead of <system>as like below. And then save.

                <interfaces><lan><if>fxp0</if>
                <ipaddr>192.168.4.1</ipaddr>
                <subnet>24</subnet>
                <media><mediaopt><bandwidth>100</bandwidth>
                <bandwidthtype>Mb</bandwidthtype></mediaopt></media></lan>
                <wan><if>fxp1</if>
                <mtu><media><mediaopt><bandwidth>100</bandwidth>
                <bandwidthtype>Mb</bandwidthtype>
                <spoofmac><disableftpproxy><ipaddr>192.168.2.196</ipaddr>
                <subnet>24</subnet>
                <gateway>192.168.2.1</gateway>
                    <use_rrd_gateway>xxx.xxx.xxx.xxx</use_rrd_gateway></disableftpproxy></spoofmac></mediaopt></media></mtu></wan>

                4. Now reboot pfsense and check RRD graph if it works.</interfaces></system></wan></interfaces>

                1 Reply Last reply Reply Quote 0
                • jahonixJ
                  jahonix
                  last edited by

                  @sbyoon:

                  I think I found the solution for RRD Quality gateway ip change with just slightly changing "/etc/inc/pfsense-utils.inc" file.

                  Thanks sbyoon, that did it on my boxes!

                  The 100% loss part is from an unpingable IP…

                  Chris

                  status_rrd_graph_img.php.png
                  status_rrd_graph_img.php.png_thumb

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

                    Hi sbyoon!

                    Thanks! Now my quality graphs are working as expected!

                    Thanks again.

                    1 Reply Last reply Reply Quote 0
                    • S
                      sbyoon
                      last edited by

                      Dear pfSense developers,

                      Could you correct /etc/inc/pfsense-utils.inc for futur version?

                      Thank you.

                      1 Reply Last reply Reply Quote 0
                      • S
                        sullrich
                        last edited by

                        Fixed.  Thanks for the detailed thread.

                        1 Reply Last reply Reply Quote 0
                        • R
                          redpanther
                          last edited by

                          My RRD WAN quality was showing 100% loss I guess because my DSL modem is doing the PPPoE and it is on 192.168.0.1
                          PFsense couldn't see the ISP gateway. So using this info here I was able to add the gateway the modem uses to my config.xml and now my RRD quality shows as it should. Guess it would have been simpler to put the modem in bridge mode and not have to do this. But I learned something!  ;)

                          Acer Aspire One Netbook
                          Atom 1.6 GHZ
                          1GB ram
                          Lan RE0 Onboard Realtek
                          Wan UE0 Trendnet TU2-ET100 USB-LAN

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