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 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.
    • S
      sullrich
      last edited by

      <system><use_rrd_gateway>XXX.XXX.XXX.XXX</use_rrd_gateway></system>

      1 Reply Last reply Reply Quote 0
      • F
        fouinix
        last edited by

        I had the same problem, I have to change the IP of the gateway of rrdgraoh.
        But my gateway is pingable.
        Does rrd use a false gateway ?

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

          It uses the wan gateway by default.

          1 Reply Last reply Reply Quote 0
          • F
            fouinix
            last edited by

            But my default gateway is pingable, I hate to copy/paste my wan gateway in config.xml else the rrd graph quality is red all the time.

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

              Update to the most recent RELENG_1 snaphot.  I fixed a bug regarding something similar this weekend that most likely affects this.

              1 Reply Last reply Reply Quote 0
              • F
                fouinix
                last edited by

                I already have the latest snapshot  1.0.1-SNAPSHOT-01-24-2007

                1 Reply Last reply Reply Quote 0
                • G
                  Gitsum
                  last edited by

                  Yeah, me to. Using latest snapshot.
                  I added the use_rrd_gateway with a pingable address, but it still doesn't work.

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

                    @Gitsum:

                    Yeah, me to. Using latest snapshot.
                    I added the use_rrd_gateway with a pingable address, but it still doesn't work.

                    Show us the xml.

                    1 Reply Last reply Reply Quote 0
                    • G
                      Gitsum
                      last edited by

                      • <pfsense><version>2.3</version>
                          <lastchange><theme>nervecenter</theme>
                      • <system><use_rrd_gateway>208.67.222.222</use_rrd_gateway>
                          <optimization>normal</optimization>
                          <hostname>pfsense</hostname>
                          <domain>local</domain>
                          <username>admin</username>
                          <password>$1$rXQXI.xG$K0UhU.e3ci0AgQoyBs.Oi.</password>
                          <timezone>America/Los_Angeles</timezone>
                          <time-update-interval><timeservers>pool.ntp.org</timeservers>
                      • <webgui><protocol>http</protocol>
                          <port><certificate><private-key></private-key></certificate></port></webgui>
                          <disablenatreflection>yes</disablenatreflection>
                          <enablesshd>yes</enablesshd>

                      <maximumstates><dnsallowoverride></dnsallowoverride></maximumstates></time-update-interval></system>

                      • <interfaces>-<lan></lan></interfaces></lastchange></pfsense>
                      1 Reply Last reply Reply Quote 0
                      • S
                        sullrich
                        last edited by

                        Click save on the Interfaces -> WAN screen and see if it fixes it.

                        RRD needs to be instructed to recreate its info

                        1 Reply Last reply Reply Quote 0
                        • G
                          Gitsum
                          last edited by

                          Nope. Even after restart, it's still showing 100% loss.

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

                            Run this from a shell.

                            cat /var/db/rrd/updaterrd.sh | grep out_wan  | grep ping

                            Does your WAN IP gateway appear correctly?

                            1 Reply Last reply Reply Quote 0
                            • G
                              Gitsum
                              last edited by

                              yes, it does.

                              1 Reply Last reply Reply Quote 0
                              • G
                                Gitsum
                                last edited by

                                So, since my WAN gateway seems to be pingable, what would be causing the RRD quality graph to not function properly?

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

                                  There seems to be a bug in the latest version that maybe is causing this issues: http://forum.pfsense.org/index.php/topic,3514.0.html

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

                                    I suppose the issue is solved, isn't it?

                                    I still get 100% loss even though I'm using an rrd_gateway in the config.xml which is pingable.

                                    cat /var/db/rrd/updaterrd.sh | grep out_wan | grep pin
                                    shows the ISP gateway instead of what I entered. I saved on Interfaces|WAN and rebooted but without luck. Any ideas?

                                    For the records: I am on 1.0.1-SNAPSHOT-03-27-2007 built on Tue Apr 3 07:30:15 EDT 2007

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

                                      Did you remove /tmp/config.cache after updating config.xml?  If not then your manual changes where lost.

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

                                        @sullrich:

                                        Did you remove /tmp/config.cache after updating config.xml?  If not then your manual changes where lost.

                                        Well, no.
                                        I edited config.xml (without package infos) on a WS and restored the configuratiion through the webGUI. Shouldn't that do the trick? After the automatic reboot the new IP is still there but not used…

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

                                          Yes that should do the trick.  I imagine you added the IP to the wrong location.

                                          The setting goes in the wan xml area.

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

                                            @sullrich:

                                            I imagine you added the IP to the wrong location. The setting goes in the wan xml area.

                                            Isn't it stored under <system>any longer?

                                            
                                             <pfsense><version>2.9</version>
                                            	 <lastchange><theme>nervecenter</theme>
                                            	 <system><use_rrd_gateway>217.6.10.12</use_rrd_gateway>
                                            		<optimization>normal</optimization>
                                            		<hostname>gateway</hostname></system></lastchange></pfsense> 
                                            

                                            I followed your instructions. Sorry if they this is outdated…

                                            @sullrich:

                                            <system><use_rrd_gateway>XXX.XXX.XXX.XXX</use_rrd_gateway></system>

                                            Does it matter where exactly it goes here? I would insert it right after the <if>tags… ???

                                            		 <wan><if>rl0</if>
                                            			 <mtu><blockpriv><media><mediaopt><bandwidth>100</bandwidth>
                                            			<bandwidthtype>Mb</bandwidthtype>
                                            			 <blockbogons><spoofmac><ipaddr>pppoe</ipaddr>
                                            			 <pppoe><pppoe-reset-type>custom</pppoe-reset-type></pppoe></spoofmac></blockbogons></mediaopt></media></blockpriv></mtu></wan> 
                                            
                                            ```</if></system>
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.