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

Gateway Monitoring (Advanced - Down)

2.1 Snapshot Feedback and Problems - RETIRED
3
4
1.9k
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.
  • N
    NOYB
    last edited by Jul 19, 2012, 6:04 PM

    System: Gateways: Edit Gateway
    (System: Routing: Edit Gateway)

    Advanced:
    Down:
    "This defines the number of bad probes before the alarm will fire. Default is 10."

    Seems to be used as seconds.

    With Frequency Probe at 30 and Down at 10 (Default) or 15 the interface keeps getting marked as down and up.  Cycling every 15 seconds or so.

    Seems only way to prevent this is to have Down greater then Frequency Probe.  Say 35.

    1 Reply Last reply Reply Quote 0
    • D
      databeestje
      last edited by Jul 19, 2012, 6:56 PM

      sounds good, we'll add some validation

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by Jul 20, 2012, 10:40 AM

        I'll have a play with this at home this evening, as I use these settings on sites with slow links that get easily swamped by user downloads - in those cases I put the latency limits high and use less frequent probes.
        The apinger conf doc does say:

        "Down" alarm definition.

        This alarm will be fired when target doesn't respond for 30 seconds.

        alarm down "down" {
        time 30s
        }

        so it is a down time, rather than probe failure count.
        I also noticed the following on the UI:

        1. Frequency Probe ('interval' var in the code) is not validated - I can enter 'xyz' - wasn't game to see what expoded on a production system if I 'Apply Changes'.
        2. Down validation - it is validated correctly, but the error text is a cut-and-paste of the low latency validation error text.

        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
        • P
          phil.davis
          last edited by Jul 22, 2012, 6:08 PM

          I just submitted a pull request with a new system_gateways_edit.php - it implements lots of validation of the parameters in the advanced section. Also the explanations and error messages have been made correct and standardised. Previously there were lots of weird things that could be entered. Now I believe I have checked for all the obviously wrong conditions.

          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
          1 out of 4
          • First post
            1/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.