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

    Triggering custom actions based on packet loss, other metrics in pfSense

    General pfSense Questions
    2
    2
    851
    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.
    • B
      burnsl
      last edited by

      I would like to have a package that allows us to trigger actions and scripts based on the states of certain metrics in the firewall.

      For example, reboot a cable or DSL modem when certain situations are detected, or simply on a timed schedule.

      I have found nothing that promises this functionality in my searches.

      Thoughts?

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by

        For doing anything on a timed schedule, simply install the Cron package. Then you can use the GUI to add Cron jobs/commands to do whatever (reboot…) at the times you want. Of course, if it is another device that you want to reboot then it has to have some way to trigger a remote reboot rom a FreeBSD script running on pfSense.

        I suppose it would be quite possible to enhance the gateway advanced parameters so that custom actions could be invoked when a gateway alarm went off (apinger alarm). That would be a feature request - describe in more detail what things you would want to be able to do and if there are enough people who would use something similar then someone might take it on.

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

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