Ad Widget

Collapse

Zabbix agregated check for network bandwidth (Agentd, no SMNP)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Poli
    Junior Member
    • Aug 2020
    • 3

    #1

    Zabbix agregated check for network bandwidth (Agentd, no SMNP)

    Hey everyone,
    I am still pretty new to this forum and Zabbix so does not hesitate to correct me in case of issue.

    I am currently trying to monitor a group of hosts total bandwidth IN and OUT. I searched a lot around it has been 1 week that I have been on this issue....
    So I have two things I can't get to work. Firstly I would love to aggregate together all the network bandwidth of a group (one item for IN, one item for out)

    I currently tried this :
    grpavg["Nuremberg_Germany","net.if.out[eth0,bytes]","last","0"]
    Even though I know it's "avg" and not "sum" it doesn't work at all I based this after falling on this page http://bonfire-dev.gforge.inria.fr/d...d-metrics.html


    Here is the item :
    Click image for larger version

Name:	2020-08-13 13_44_00-Window.png
Views:	191
Size:	62.2 KB
ID:	406962

    I want to show this on a MAP later on by groups. So I am also interested on doing that.
    Now with this, I know already my second issue. Can I select multiple nets? Like viifbr0, eth1 and so on? How can I put that in one item?

    I would be so gratefull if someone can test it out by there side and find a working key.
    Thanks Poli
  • Poli
    Junior Member
    • Aug 2020
    • 3

    #2
    So I founded out I needed to put some escape characters

    Click image for larger version

Name:	FJRmyMH.png
Views:	287
Size:	37.8 KB
ID:	407023

    It's working but is it possible to put some REGEX like "eth*" ?
    I need to have a regex because if I put let's say net.if.in[*] it would also get bridges, docker and so on. So it wouldn't work for me.

    I also want to have the enp interfaces I should use two items to aggregate and one as calculated item, right?
    But I am mainly stuck for this REGEX. Any ideas?

    Comment

    Working...