Ad Widget

Collapse

Zabbix Link utilization in %

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Fotis
    Junior Member
    • Sep 2014
    • 24

    #1

    Zabbix Link utilization in %

    Hello all,
    I'm already familiar with net.if.in and net.if.out items, and now i would like to monitor the linkspeed which will help me to check the link utilization in %.
    Anyone has any idea on how to implement this?

    Thanks and regards,
    Fotis
  • Colttt
    Senior Member
    Zabbix Certified Specialist
    • Mar 2009
    • 878

    #2
    i think you must use a calculated item.

    you speed/total speed*100
    Debian-User

    Sorry for my bad english

    Comment

    • Fotis
      Junior Member
      • Sep 2014
      • 24

      #3
      And how will you give a value to the total speed? Sometimes it might be 1000Mb/s, or 100Mb/s or 10Mb/s...

      Comment

      • timbo
        Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Sep 2013
        • 50

        #4
        Hi Fotis,

        Sorry for the late response. Colttt has suggested the right method - if you want to hard code the "total speed" in each calculated item, for each host you want to monitor. But I presume you would like to set this up in a template - so the bandwidth could change depending on the system/device the template is applied to?

        If that is the case, you need to look into Macros:


        Take note of the precedence.

        So, you'd create the template with the calculated item Colttt suggested but with a macro (e.g. {$BANDWIDTH}) in place of the "total speed". You'd add the "{$BANDWIDTH}" macro to the template (typically with the most likely bandwidth in use - e.g. 1000), then on the host level you would add macros as the exceptions (e.g. 100, 10).

        Template Macro:
        {$BANDWIDTH}=1000

        1st Host Macro
        *NOT SET* (means it will inherit the template macro value of 1000)

        2nd Host Macro:
        {$BANDWIDTH}=100

        3rd Host Macro:
        {$BANDWIDTH}=10

        (note: I've used Mbps in the above examples - it's better if you use bps)

        I use this method on various WAN links, each with different bandwidth capabilities.

        You can then set triggers when the Bandwidth utilisation exceeds 90% - for example.

        Hope this helps.

        -Timbo

        Comment

        Working...