Ad Widget

Collapse

Flapping Line

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Zaniwoop
    Senior Member
    • Jan 2010
    • 232

    #1

    Flapping Line

    Hi,

    I have a situation where a line on a particular router interface goes up and down at intervals that are less than my trigger value (5 mins).

    Any ideas how I can create a trigger based on this
  • alixen
    Senior Member
    • Apr 2006
    • 474

    #2
    Originally posted by Zaniwoop
    Hi,

    I have a situation where a line on a particular router interface goes up and down at intervals that are less than my trigger value (5 mins).

    Any ideas how I can create a trigger based on this
    What is your polling frequency ?
    If you are polling fast enough to detect line changes, may be you could change your trigger formula.
    Otherwise, if you are using SNMP, you can use ifLastChange variable to check if interface status has changes recently.

    Hope this helps
    Alixen
    http://www.alixen.fr/zabbix.html

    Comment

    • Zaniwoop
      Senior Member
      • Jan 2010
      • 232

      #3
      The poll time is 30 seconds.
      The up and down seconds to to 5 minutes, but not consistant.

      Idealy I need to count the number of state changes over a period of time.
      Not sure how I would do that.

      Comment

      • alixen
        Senior Member
        • Apr 2006
        • 474

        #4
        Originally posted by Zaniwoop
        The poll time is 30 seconds.
        The up and down seconds to to 5 minutes, but not consistant.

        Idealy I need to count the number of state changes over a period of time.
        Not sure how I would do that.
        This looks like basic signal processing, if you want to detect a change of frequency F, you must at least poll with a 2F frequency .

        So, if you want to detect all state changes that last at least 10 seconds, your polling period must be 5 seconds.

        Assuming that you can poll fast enough, you can set up your zabbix item to store ifOperStatus as "delta (simple change)" instead of "As is". Then you just have to count the number of non zero values over a period of time (calculated items introduced in 1.8.1 may help for that).

        Hope this helps
        Alixen
        http://www.alixen.fr/zabbix.html

        Comment

        • Zaniwoop
          Senior Member
          • Jan 2010
          • 232

          #5
          That sounds like a workable plan. I will give it a try.

          Thanx

          Comment

          Working...