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

How to modify notifications

Scheduled Pinned Locked Moved General pfSense Questions
11 Posts 3 Posters 947 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.
  • S
    Sessa45
    last edited by Jan 31, 2020, 2:00 PM

    Hey guys!

    I receive E-mails from my pfsense when there is paketloss.

    Notifications in this message: 1
    ================================
    
    13:11:12 42309MONITOR: GW_WAN is available now, adding to routing group GW_Member_Down XX.XX.XX.XXX|XX.XX.XX.XXX|GW_WAN|40.637ms|17.372ms|15%|loss
    

    For this i have configured a gateway group with trigger level "Member Down".

    First question: What are the differences between the trigger levels?
    Next what i want to know: Is it possible to modify the message (see above) which i receive from the pfsense?

    Thank you very much guys :)!
    Best regards

    1 Reply Last reply Reply Quote 0
    • N
      NogBadTheBad
      last edited by NogBadTheBad Jan 31, 2020, 2:48 PM Jan 31, 2020, 2:41 PM

      https://docs.netgate.com/pfsense/en/latest/routing/gateway-settings.html

      Advanced Options

      Weight: Weight for this gateway when used in a Gateway Group. See How Can I Load Balance Uneven WAN Connections.

      Latency Thresholds: An alarm and down threshold for latency, specified in milliseconds (ms). The default values are 200 (alarm) and 500 (down)

      Packet Loss Thresholds: An alarm and down threshold for packet loss, specified in percentage (%). The default values are 10% (alarm) and 20% (down)

      Probe Interval: How often an ICMP echo probe will be sent to the monitor IP address, in seconds. Default is 1 second.

      Down: The number of seconds of failed probes before the alarm will fire. Default is 10, but higher values such as 30 or 60 may yield better results on unstable WANs.

      Andy

      1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

      S 1 Reply Last reply Feb 4, 2020, 1:58 PM Reply Quote 0
      • S
        Sessa45 @NogBadTheBad
        last edited by Feb 4, 2020, 1:58 PM

        @NogBadTheBad said in How to modify notifications:

        Advanced Options

        Which Advanced Options exactly?

        1 Reply Last reply Reply Quote 0
        • N
          NogBadTheBad
          last edited by Feb 4, 2020, 1:59 PM

          Not sure took that info from the help pages.

          Andy

          1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

          1 Reply Last reply Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by Feb 4, 2020, 2:02 PM

            The gateway advanced options.

            System > Routing > Gateways. Edit the gateway, expand the advanced options.

            Steve

            N S 2 Replies Last reply Feb 4, 2020, 2:43 PM Reply Quote 0
            • N
              NogBadTheBad @stephenw10
              last edited by Feb 4, 2020, 2:43 PM

              @stephenw10

              Ah there was me thinking it was a global setting, you live & learn ☺

              Andy

              1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

              1 Reply Last reply Reply Quote 0
              • S
                stephenw10 Netgate Administrator
                last edited by Feb 4, 2020, 2:46 PM

                Yeah, you can set those per gateway. Often useful to tune the thresholds for different line conditions especially if you have a wireless WAN or even a satellite connection.

                Steve

                1 Reply Last reply Reply Quote 0
                • S
                  Sessa45 @stephenw10
                  last edited by Feb 4, 2020, 3:01 PM

                  @stephenw10 said in How to modify notifications:

                  System > Routing > Gateways. Edit the gateway, expand the advanced options.

                  Oh ... I overlook this button every time again ^^

                  But:
                  What are the differences between the trigger levels?
                  Is it possible to modify the message (see first post) which i receive from the pfsense?

                  I use the "member down" option at the trigger level on Gateway Groups tab. Nevertheless, I get mails when there is a package loss. How so?

                  1 Reply Last reply Reply Quote 0
                  • S
                    stephenw10 Netgate Administrator
                    last edited by Feb 4, 2020, 3:04 PM

                    The trigger option is for the gateway action, so removing it from a gateway group or reloading packages.
                    The alerts that cause the trigger can be modified, so allowing more packet loss or greater latency before triggering.

                    I don't know of any way to set those specifically for notifications.

                    Steve

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sessa45
                      last edited by Feb 26, 2020, 12:27 PM

                      Anyone an idea if i can modify the message (see first post) which i receive from the pfsense?

                      1 Reply Last reply Reply Quote 0
                      • S
                        stephenw10 Netgate Administrator
                        last edited by Feb 26, 2020, 2:07 PM

                        It's open source you can change anything you want. 😉

                        There's no way to change that via the normal pfSense config though, you would need to edit the file that generates it.

                        Steve

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