Ad Widget

Collapse

Zabbix 5.0 Triggers High bandwidth usage

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • madj
    Junior Member
    • Sep 2020
    • 3

    #1

    Zabbix 5.0 Triggers High bandwidth usage

    Hello everybody,

    I'm using template "Module Interface SNMPv2" with item prototypes, trigger prototypes. I have this trigger for high bandwidth usage:




    ({Template Module Interfaces SNMPv2:net.if.in[ifHCInOctets.{#SNMPINDEX}].avg(15m)}>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*{Template Module Interfaces SNMPv2:net.if.speed[ifHighSpeed.{#SNMPINDEX}].last()} or

    {Template Module Interfaces SNMPv2:net.if.out[ifHCOutOctets.{#SNMPINDEX}].avg(15m)}>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*{Template Module Interfaces SNMPv2:net.if.speed[ifHighSpeed.{#SNMPINDEX}].last()}) and

    {Template Module Interfaces SNMPv2:net.if.speed[ifHighSpeed.{#SNMPINDEX}].last()}>0




    The following items :

    SNMPv2:net.if.speed[ifHighSpeed.{#SNMPINDEX} is the interface bandwidth capacity. Most of the time 100Mbps or 1Gbps.




    But I want to monitor different WAN Link with different Value. For example

    200Mbps | 500Mbps




    And I want to have alert when I'm using 90% of my wan link.

    This is for different location, different device and interfaces.

    So I would like to know if someone know how can I do that with template and macro for example.

    I tried different things but I didn't find solution.

    Thanks in advance
  • airconnect
    Junior Member
    • Jan 2021
    • 1

    #2
    madj, did you ever find a solution to this issue?

    Comment

    • syman888
      Junior Member
      • Jul 2022
      • 12

      #3
      I also want to know how to set the internet bandwidth to reach 80% and 90% to trigger the warning, thank you.

      Comment

      • Cloudeuw
        Junior Member
        • Jul 2022
        • 11

        #4
        For my router, I do 100 x the number of bytes received on the interface I want divided by the number of Mbps of my connection with a speedtest.

        This gives for downloads bandwith :

        100*last(//net.if.in[ifInOctets.111])/{$DOWNLOAD}
        100*last(//net.if.in[ifInOctets.111])/2000000000 (2 Gbps)

        This gives me the percentage of usage of my downloaded bandwidth compared to the max of my connection.

        Click image for larger version  Name:	Screenshot_2.png Views:	0 Size:	1.7 KB ID:	448728

        Of course, my net.if.in is already transformed to bps beforehand.

        On the other hand, I created my own elements and I did not use a template.
        Attached Files
        Last edited by Cloudeuw; 27-07-2022, 09:51.

        Comment

        • syman888
          Junior Member
          • Jul 2022
          • 12

          #5
          hi Cloudeuw,
          Can you please provide an example of the trigger?
          thank you

          Comment

          Working...