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

Traffic Shaping activate only over certain throughput usage

Scheduled Pinned Locked Moved Traffic Shaping
4 Posts 2 Posters 2.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.
  • C Offline
    craigjbass
    last edited by Jun 11, 2010, 10:09 AM

    Is it possible to only activate the traffic shaper when bandwidth usage for the month goes over say 40 GB.

    I'm trying to limit the speed to 64 kbps for the last 5 GB of my download allowance.

    Thanks in advance!

    1 Reply Last reply Reply Quote 0
    • J Offline
      jimp Rebel Alliance Developer Netgate
      last edited by Jun 11, 2010, 1:58 PM

      No, that isn't possible. The shaper is active all the time, and the system doesn't really keep a reliable tally for the month. It does keep data in the RRD files for graphing, but various things could cause these to be missing/invalid (rare, but it happens, and especially on NanoBSD where an unclean reboot will lose graphs entirely)

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      1 Reply Last reply Reply Quote 0
      • C Offline
        craigjbass
        last edited by Jun 11, 2010, 2:04 PM

        Hi yeah, I'm aware they're not completely accurate but it's really just a measure to basically stop a thousand pound bill from being formed.

        Is there a way of reading usage data by use of a shell command (to then pass it by an if statement?) Sorry this is probably in the wrong forum now.

        1 Reply Last reply Reply Quote 0
        • J Offline
          jimp Rebel Alliance Developer Netgate
          last edited by Jun 11, 2010, 2:49 PM

          The RRDs would be more accurate than looking at interface stats at the shell, since they will persist across reboots and don't roll over/reset like the interface counters (which wrap after a while)

          Relying on RRDs could end up worse because you think you're protected and it would almost always estimate low (especially with missing data) so you'd nearly always exceed what you expected.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received