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

Sending email on Gateway failure

Scheduled Pinned Locked Moved General pfSense Questions
8 Posts 4 Posters 3.1k 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.
  • M
    marefaat
    last edited by Feb 8, 2011, 11:02 AM

    Hello all,
    I am new in PFsense world and would like to ask this question. I have a pool of gateways and am using Load balancing between them. I want the PFsense to send me an email when a gateway of them is disconnected or when its link is down.
    How can this be done ???

    1 Reply Last reply Reply Quote 0
    • ?
      Guest
      last edited by Feb 8, 2011, 11:32 AM

      There is no facility for doing this within pfSense at this time.  Consider using a network monitoring system like Nagios, Zabbix or similar.

      1 Reply Last reply Reply Quote 0
      • M
        marefaat
        last edited by Feb 8, 2011, 12:18 PM

        Can a script be written for making such functionality ???

        1 Reply Last reply Reply Quote 0
        • ?
          Guest
          last edited by Feb 9, 2011, 12:38 AM

          Sure, but its something you'd have to write yourself or post a bounty for someone to write it for you for a price.

          1 Reply Last reply Reply Quote 0
          • D
            dave99
            last edited by Feb 10, 2011, 10:52 PM

            @submicron:

            There is no facility for doing this within pfSense at this time.  Consider using a network monitoring system like Nagios, Zabbix or similar.

            Is there a way to check for that now with nagios?

            1 Reply Last reply Reply Quote 0
            • J
              jimp Rebel Alliance Developer Netgate
              last edited by Feb 11, 2011, 5:17 PM

              @dave99:

              Is there a way to check for that now with nagios?

              From the inside, have nagios ping the same IPs that pfSense does for the gateways
              From the outside, have nagios ping the firewall's IP on each connection.

              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
              • D
                dave99
                last edited by Feb 11, 2011, 7:27 PM

                Ahh, that's what I do now. I didn't know if there was a cleaner way to query the status directly.

                1 Reply Last reply Reply Quote 0
                • J
                  jimp Rebel Alliance Developer Netgate
                  last edited by Feb 11, 2011, 7:55 PM

                  Not really. The gateway status isn't exposed by anything directly on the system like that for snmp… I suppose if an agent for any of those can execute a script you could hack together a gateway status script that would pass the info back to your NMS. Doing that is still probably easier (and better from a logic standpoint) than sending out an e-mail when a gateway is down.

                  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
                  1 out of 8
                  • First post
                    1/8
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                    This community forum collects and processes your personal information.
                    consent.not_received