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.
    • D
      databeestje
      last edited by

      I think I may have solved it, the debugging statements are all there but it took a while to set up a testing rig.

      Please test another snapshot.

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

        Hi,

        Some excerpts from system.log those seem to be related for gateway thingy:
        –-
        Nov 30 12:13:45 check_reload_status: reloading filter
        Nov 30 12:13:34 apinger: ALARM: wan(127.0.0.2) *** down ***
        Nov 30 12:13:29 check_reload_status: updating dyndns
        Nov 30 12:13:24 check_reload_status: reloading filter
        Nov 30 12:13:24 apinger: Exiting on signal 15.
        Nov 30 12:13:24 php: : Found dynamic gateway '210.xxx.xxx.6'
        Nov 30 12:13:24 php: : Found dynamic gateway ''
        Nov 30 12:13:23 php: : Creating rrd update script

        Name  Gateway  Monitor        Status                                    Description
        WAN    127.0.0.2       127.0.0.2      Offline Last succes Jan  1 09:00:00 1970  Interface WAN Gateway
        WAN    210.xxx.xxx.6    210.xxx.xxx.6  Online  Last succes Nov 30 13:14:54 2008  Interface WAN Gateway

        I dunno what's been changed since last snap tho  :P

        Still no luck with CPU/Quality graphs.

        cheers,

        2.0-ALPHA-ALPHA
        built on Sat Nov 29 08:14:04 EST 2008
        FreeBSD 7.1-PRERELEASE

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

          as soon as the gateway status page is correct and not showing the duplicate WAN entry it will be automatically picked up in the quality graph. Ermal has made another fix for the pppoe problem which might have nailed it since he uses pppoe.

          I will look further into the cpu graph problem.

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

            CPU grapjh should be fixed in CVS

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

              Version  2.0-ALPHA-ALPHA
              built on Sun Nov 30 21:11:20 EST 2008
              FreeBSD 7.1-PRERELEASE

              Wan=PPPoe

              Status: RRD Graphs -> Quality
              don't worked

              LOG:
              Dec 1 11:34:51 php: /status_rrd_graph_img.php: Failed to create graph with error code 1, the error is: ERROR: No DS called 'delay' in '/var/db/rrd/wan-quality.rrd'

              20081201.png
              20081201.png_thumb

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

                Shraik, you need to remove the /var/db/rrd/*-quality.rrd files. The format has changed. 3 times is golden.

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

                  Hello,

                  Thank you always databeestje, everything is back to as it supposed to be since your last post, Sun Nov 30 21:11:20 EST 2008 build. The CPU and Quality graph started drawing again correctly, and the Gateway also looks normal, no more 127.0.0.2 is shown, no annoying apinger logs in the system.log any more.

                  cheers,

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

                    That's good to hear.

                    Thank you for helping testing!

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

                      Hi,

                      today i look into my "System Log" and it show many errors every 5 Minutes these messages are repeated in the log:

                      
                      apinger: Error while feeding rrdtool: Broken pipe
                      apinger: rrdtool respawning too fast, waiting 300s.
                      
                      

                      My quality graph is gone and this messages are shown since the automatic PPPOE restart which took place(as reported in the other topic this feature is still buggy). I hope i can help.

                      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

                        can you show me the output of a

                        
                        ls -ld /var/db/rrd
                        
                        1 Reply Last reply Reply Quote 0
                        • M
                          mino
                          last edited by

                          
                          drwxr-xr-x  2 nobody  nobody  512 Dec  1 10:22 /var/db/rrd
                          
                          

                          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

                            make that ls -ld /var/db/rrd/
                            

                            Notice the trailing /

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

                              
                              # ls -ld /var/db/rrd/
                              drwxr-xr-x  2 nobody  nobody  512 Dec  1 10:22 /var/db/rrd/
                              
                              

                              Same output… do you really are intrested in the directory permission or in the content of the directory itself (ls -al) ?

                              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

                                It was the directory permissions. But those look good. The directory permissions need to be owned by nobody because that is what apinger runs under.

                                You say this happens every pppoe restart, does that mean it works ok some times?

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

                                  I can see WAN RRD graphs, wan is PPPoE.

                                  This message in a log.
                                  php: /status_rrd_graph_img.php: Failed to create graph with error code 1, the error is: ERROR: No DS called 'inblock' in '/var/db/rrd/wan-traffic.rrd …..

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

                                    Hi,

                                    wondering if this is the case; http://forum.pfsense.org/index.php/topic,12890.0.html

                                    cheers,

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