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

    RRD graphing

    2.0-RC Snapshot Feedback and Problems - RETIRED
    9
    62
    39.8k
    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.
    • N
      nocer
      last edited by

      @databeestje:

      It's a good thing you said it's a pppoe connection. Now I know where to look. The em0 interface is the pppoe parent interface?

      yup, em0 for WAN and em1 for LAN.

      how about RRD Quality tab? Mine is still doesn't seem to work, it's all RED. It's been RED since the very begining of 1.3-AA and I believe someone has also posted the same sometimes ago.

      1 Reply Last reply Reply Quote 0
      • dotdashD
        dotdash
        last edited by

        @nocer:

        how about RRD Quality tab? Mine is still doesn't seem to work, it's all RED. It's been RED since the very begining of 1.3-AA and I believe someone has also posted the same sometimes ago.

        If you can't ping the default gateway of the interface, the graph will be red. There was previously a manual add to the config to change the monitor IP to something else, but I remember there being an option in the 1.3 gui to change this. I'm just too lazy to boot up a 1.3 test box and find where it is.

        1 Reply Last reply Reply Quote 0
        • N
          nocer
          last edited by

          @dotdash:

          @nocer:

          how about RRD Quality tab? Mine is still doesn't seem to work, it's all RED. It's been RED since the very begining of 1.3-AA and I believe someone has also posted the same sometimes ago.

          If you can't ping the default gateway of the interface, the graph will be red. There was previously a manual add to the config to change the monitor IP to something else, but I remember there being an option in the 1.3 gui to change this. I'm just too lazy to boot up a 1.3 test box and find where it is.

          I of course ping the default gateway, but in fact, because I am getting IP address via PPPoE so the addresses will change every(not exactly) boot then I just can't configure those gateway/monitor IP in the System:Gateways. Description for the monitor IP says "Enter a alternative address here to be used to monitor the link. This is used for the quality RRD graphs as well as the load balancer entries. Use this if the gateway does not respond to icmp requests." so I put some real address one of my co-lo box but RRD still red. This used to work without any extra config since 1.2, I will try 1.2.1 and see how it is done in 1.2.1.

          Thanks for your info anyway.

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

            If all is wel this should now be fixed for dynamic interfaces!

            Please test!

            1 Reply Last reply Reply Quote 0
            • N
              nocer
              last edited by

              Hello,

              @databeestje:

              If all is wel this should now be fixed for dynamic interfaces!

              Please test!

              Thanks for follow up, however, I no have time playing with 1.2.1 since then so go with 1.3-AA and I'm actually stuck to configure the addresses which "dynamically assigned" by my ISP. Configuring System>Routing>Gateways requires addresses to be static. It can't be done if there's some sort of auto-discovery method, or even alias, or whatever the way $WAN can be used for gateway.

              I of course statically configured addresses just for now and tested then I saw the config for the "apinger" successfully created in /var/etc and rrd graph is also created in /var/db/rrd/apinger-<monitor_ip_addr>.rrd and is updated correctly, but in fact, when I click Quality tab in RRD with my hope to see the apinger graph, nope, it just returns me wan-quality.rrd graph which I continuously seeing the ALL RED graph.

              It could be my config for the Gateway wrong, I only set "WAN" for the interface, "TEST" for the name, address of my WAN interface for gateway, don't check default gateway, and one of my co-lo address for monitor_ip. That's all.

              Could someone tell me correct way to configure this Gateway tab please?

              cheers,

              EDIT : I meant to say that how I can specify the "Gateway address" which
                     obtained by PPPoE and will be changed every boot.

              EDIT2: It looks fine in the Status:Gateways I see green and updated every
                     10 seconds or so, but somehow continuously getting "php: : Could not find
                     gateway for interface(wan)." in syslog.

              EDIT3: And…now the Quality RRD graph is all WHITE...means empty? or nothing?
                     Much better than all red but I just dunno :P</monitor_ip_addr>

              1 Reply Last reply Reply Quote 0
              • N
                nocer
                last edited by

                Hi,

                Been playing with the 20080923-0645, and can't stop "php: : Could not find gateway for interface(wan)." messages in the syslog. It seems to be harmless but annoying and hogs syslog…I've deleted Gateway and apinger related but still getting these. Nothing happens either for Quality RRD Graph, it doesn't matter if Gateway/apinger configured or not, no graph, complete white(or blank). Grab some new build in the weekend and see if there's any progress...

                cheers,

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

                  I finally added backend support in the gateway groups for the dynamic interfaces.

                  Possibly failover even works.

                  Not sure about the RRD graphs, it might even work.

                  1 Reply Last reply Reply Quote 0
                  • N
                    nocer
                    last edited by

                    Thanks databeestje, let me grab new 2.0 snaps.

                    BTW: I'm still having annoying "php: : Could not find gateway for interface(wan)." messages in the syslog. Could someone tell me how I can stop it. Gateway is of course configured properly, and always green by apinger.

                    cheers,

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

                      That's fixed too.

                      1 Reply Last reply Reply Quote 0
                      • N
                        nocer
                        last edited by

                        Hi,

                        Finally catch the latest snap and my box has been up-to-date. I also noticed that the kernel has already moved to 7.1, WOW!

                        YES - all the RRD thingy works fine now including "Quality" tab, and annoying PHP messages are gone. Thank you :D

                        BTW, I happened to have found that apinger now picks my WAN address correctly but also picks a non existing address, 127.0.0.2, too then the following is logged to syslog;

                        Nov 10 11:29:22 apinger: ALARM: wan(127.0.0.2) *** down ***

                        Of course, apinger creates its config while booting so that deleting 127.0.0.2 from the config doesn't help(unless you never reboot). Hope this would be cleared in the next snap.

                        cheers,

                        1 Reply Last reply Reply Quote 0
                        • N
                          nocer
                          last edited by

                          Hi

                          Apologies for frequent post…Can't get "Processor" graph correctly at this time. I normally see both # of processes and % of CPU usage but no CPU% is shown in the graph. # of processes is shown correct. Deleted all the *.rrd in /var/db/rrd and reboot the box, neither helps. I don't see the "divided by zero" errors as other members reported, yet.

                          2.0-ALPHA-ALPHA
                          built on Sun Nov 9 20:34:03 EST 2008
                          FreeBSD 7.1-PRERELEASE

                          cheers,

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

                            You should now be able to assign a different monitor IP to a dynamic interface.
                            Ofcourse this needs testing.

                            I update the backend rrd code to make sure it finds this new address. Otherwise it'll use the gateway.

                            The processor graph I don't know. I have not tracked rrd too closely over the course of 1.3 -> 2.0

                            1 Reply Last reply Reply Quote 0
                            • N
                              nocer
                              last edited by

                              Hello,

                              Just up to the latest, still can't get CPU graph in RRD, and now Quality too broken again.
                              As for the gateway, 127.0.0.2 still there and can't be deleted from the gateway list.

                              2.0-ALPHA-ALPHA
                              built on Sat Nov 15 19:40:31 EST 2008
                              FreeBSD 7.1-PRERELEASE

                              I will revert to previous build.
                              cheers,

                              1 Reply Last reply Reply Quote 0
                              • M
                                mino
                                last edited by

                                Hi,

                                at first great job databeestje, i can set successfull an alternative ip for my wan interface. The "Gateway Status" in the Dashboard is now working correctly, the quality graph isnt and the single gateway status is also working correctly working. I think the messages in the logs are created by the rrd graph process.

                                cpu_grap.png
                                cpu_grap.png_thumb
                                logs.png
                                logs.png_thumb
                                quality_graph.png
                                quality_graph.png_thumb
                                status_gateways.png
                                status_gateways.png_thumb

                                Running:   2.0-ALPHA-ALPHA
                                built on Mon Jan 26 03:00:33 EST 2009
                                FreeBSD 7.1-RELEASE-p2
                                IRC Nick: mino

                                1 Reply Last reply Reply Quote 0
                                • N
                                  nocer
                                  last edited by

                                  Hi mino,

                                  Ah, I should have attached those rrd graphs…not showing cpu and quality correct. Thank you!
                                  No cpu graph, no quality graph, that is happening with the latest. Both used to work fine somewhere around 8/Nov builds.

                                  cheers,

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    mino
                                    last edited by

                                    Okay now the quality graph is working correctly. The cpu graph problem and the log messages about "php: : Could not find gateway for interface(pptp)." are still present.

                                    Running:   2.0-ALPHA-ALPHA
                                    built on Mon Jan 26 03:00:33 EST 2009
                                    FreeBSD 7.1-RELEASE-p2
                                    IRC Nick: mino

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

                                      Fixed, thanks

                                      1 Reply Last reply Reply Quote 0
                                      • N
                                        nocer
                                        last edited by

                                        Hello,

                                        Hmm…doesn't seems to be fixed. Still have cpu graph issue, and quality graph back to ALL RED. Still getting

                                        Nov 19 08:51:08 apinger: ALARM: wan(127.0.0.2) *** down ***

                                        for the gateway 127.0.0.2 which I have never ever configured.

                                        cheers,

                                        EDIT: 2.0-ALPHA-ALPHA built on Tue Nov 18 17:47:36 EST 2008 FreeBSD 7.1-PRERELEASE

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          mino
                                          last edited by

                                          With the latest snapshort RRD is again working but all Gateway Displays say "offline". And CPU Graph is still not working (like before).

                                          Running:   2.0-ALPHA-ALPHA
                                          built on Mon Jan 26 03:00:33 EST 2009
                                          FreeBSD 7.1-RELEASE-p2
                                          IRC Nick: mino

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

                                            127.0.0.2 is for interfaces which are dynamic and down. Atleast that's what they should be.

                                            What is you wan? The gateway code is untested with pppoe or pptp. So I can't really tell.

                                            dump the output from the php command

                                            print_r(return_gateways_array());

                                            and

                                            print_r(return_gateways_status());

                                            Thanks.

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