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

    Updated 3G statistics

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    9 Posts 4 Posters 3.2k 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.
    • D
      databeestje
      last edited by

      Hi,

      I've just merged a bunch of changes that make the 3G internet stick experience a bit better. I've managed to tackle various gateway related issues over the weekend as well, related to this.

      We now log statistics for the Huawei sticks. I've tested with a Huawei E173u device, and as-is, the data port is on cuaU0.0 and the statistics port is cuaU0.3. I'm pretty sure there are plenty of other devices out there with different ports, maybe others could chime in.

      For those that had graphs previously, I'm pretty sure I broke this. Let me know.

      The RRD graphs for cellular are changed as well, these are now listed per interface, instead of 1 global.

      1 Reply Last reply Reply Quote 0
      • ?
        Guest
        last edited by

        This is great to hear !!  Ill test as soon as my Bandwithlimit (currently gprs:( ) is back to normal.
        hanD!

        PS: aahrg, feels like surfing in the last century… :(

        pfsense_at_64kbps.png
        pfsense_at_64kbps.png_thumb

        1 Reply Last reply Reply Quote 0
        • P
          podilarius
          last edited by

          This 3G logging or what ever is going on with 3G, is producing a lot of PHP errors. I had to get my system going again, so I stopped the process and removed the 2GB file that was /tmp/PHPerrors.log. I will post the error next time.

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

            Please do, it's pretty new and needs more love obviously. It's hard to get something right on the 1st few attempts.

            Needs more itteration.

            1 Reply Last reply Reply Quote 0
            • P
              podilarius
              last edited by

              Just keeps adding this until i kill the process that generates it.

              /usr/local/bin/php -f /usr/local/bin/3gstats.php

              [22-May-2012 22:36:33 UTC] PHP Warning:  fgets() expects parameter 1 to be resource, boolean given in /usr/local/bin/3gstats.php on line 20
              [22-May-2012 22:36:33 UTC] PHP Warning:  fgets() expects parameter 1 to be resource, boolean given in /usr/local/bin/3gstats.php on line 20
              [22-May-2012 22:36:33 UTC] PHP Warning:  fgets() expects parameter 1 to be resource, boolean given in /usr/local/bin/3gstats.php on line 20
              [22-May-2012 22:36:33 UTC] PHP Warning:  fgets() expects parameter 1 to be resource, boolean given in /usr/local/bin/3gstats.php on line 20
              [22-May-2012 22:36:33 UTC] PHP Warning:  fgets() expects parameter 1 to be resource, boolean given in /usr/local/bin/3gstats.php on line 20
              [22-May-2012 22:36:33 UTC] PHP Warning:  fgets() expects parameter 1 to be resource, boolean given in /usr/local/bin/3gstats.php on line 20
              
              
              1 Reply Last reply Reply Quote 0
              • D
                databeestje
                last edited by

                Fix checked in.

                1 Reply Last reply Reply Quote 0
                • P
                  podilarius
                  last edited by

                  @databeestje:

                  Fix checked in.

                  Awesome … I will test it. Thanks.

                  1 Reply Last reply Reply Quote 0
                  • P
                    podilarius
                    last edited by

                    That looks to have fixed the issue.
                    Thank you.

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

                      @databeestje:

                      For those that had graphs previously, I'm pretty sure I broke this. Let me know.

                      Yup, they broken :)  Scaling seems screwed.  My rrds show max values of ca. 300 mb/sec or so.  Now, give it a few years 5/6g we will be there …...

                      Problem seems to be the odd massive spike in values - see attached.

                      Also, under cellular RRD, the alphebetical default and disfunctional graph is PPP when one wants the working WAN.

                      PS.  Those spikes might be something related to my recent testing of PPP as I just did a large download and it seems to have graphed normally (difficult to see as spikes suppress everything (need log scale :)) .  Whatever the cause, the values are wildly wrong ...

                      Selection_004.png_thumb
                      Selection_004.png

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