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

    Question about traffic graph and minicron

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 720 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
      Doktor Jones
      last edited by

      I noticed the Traffic Graph @ /status_graph.php?if=wan seems to update about every 5 seconds. Where does this data come from? I see rrdtool running, but wan-traffic.rrd only seems to be storing values every 60 seconds.

      On a related note, how can I set up a minicron job to run on pfSense?

      I have an RGB LED attached to the box via USB, and would like to adjust it's color based on WAN traffic volume. I figure I could have a small script that runs every 10 seconds and looks at the average traffic rate for the last 10 seconds, then set the LED color based on that.

      Thanks!

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

        There is a Cron package addon you can install to allow cron style scripts.

        Go to "System->Packages->Available Packages" and look for Cron.

        -jfp

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