Ad Widget

Collapse

Interface Bandwidth Utilization Trigger

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pradeepspa
    Junior Member
    • Aug 2016
    • 27

    #1

    Interface Bandwidth Utilization Trigger

    Hello Folks,

    I have zabbix Running on version 4.2.5 and working on creating a "Trigger Prototype" for interface bandwidth exceeding 85% of the total speed. Here is the expression I use to achieve this.

    "100*({Template SNMP Interfaces:ifHCInOctets[{#SNMPVALUE}].last(0)}/{Template SNMP Interfaces:ifHighSpeed[{#SNMPVALUE}].last(0)})>85 and {Template SNMP Interfaces:ifAlias[{#SNMPVALUE}].str(this_does_not_exist)}=0 "

    This expression seems to be working fine but its triggering alarm even for 1min bandwidth hike we get which is expected as per the used expression (last(0)). I would like to know if there is a way to modify this expression to trigger if the value exceeds after n mins? I used "ifHCInOctets[{#SNMPVALUE}].last(#3)" but that doesnt seems to be working fine. Any guidance on this would be greatly helpful.
  • Mechanix
    Member
    • Jan 2017
    • 92

    #2
    Have you found a solution for this?

    Comment

    • pradeepspa
      Junior Member
      • Aug 2016
      • 27

      #3
      Originally posted by Mechanix
      Have you found a solution for this?
      I made a workaround under "Action" adjusting the step-duration value.

      Comment

      • aib
        Senior Member
        • Jan 2014
        • 1615

        #4
        Originally posted by pradeepspa

        "100*({Template SNMP Interfaces:ifHCInOctets[{#SNMPVALUE}].last(0)}/{Template SNMP Interfaces:ifHighSpeed[{#SNMPVALUE}].last(0)})>85 and {Template SNMP Interfaces:ifAlias[{#SNMPVALUE}].str(this_does_not_exist)}=0 "
        Hello!
        Have you try to use .avg(5m) instead of .last(0) for first item?
        In that case you will check Average value for last 5 minutes, divided by Interface High Speed.
        Of course, you can use longer period of time in .avg() function to be sure that traffic is still high.
        Sincerely yours,
        Aleksey

        Comment

        Working...