zabbix network interface app shows no items for CentOS VM

5,794

These network items appeared on "Zabbix Ubuntu" due to a Zabbix feature called low-level discovery.

If you go to "Discovery rules" on either of these hosts, you will see "Mounted filesystem discovery" and "Network interface discovery". Network items are created by the latter rule. This discovery rule runs once per hour by default, this might be one of the reasons you did not see network items on "Zabbix Centos" straight away. However, by the time this answer reaches you, you should probably already have them.

Share:
5,794

Related videos on Youtube

benjaminz
Author by

benjaminz

I love this work space! Stackoverflow has helped me with a lot of my projects, and hopefully I could give back to the community.

Updated on September 18, 2022

Comments

  • benjaminz
    benjaminz almost 2 years

    I'm using a Ubuntu VM as Zabbix server and Zabbix agent1, and a CentOS VM as Zabbix agent 2. And when I look at the overview at the property "Incoming network traffic on eth0", only Zabbix agent1 (the one on the same machine with the server) has a number showing up. And Zabbix agent 2 shows a "-".

    I digged further and found something else:

    Since both hosts are based on the template "Template OS Linux", there are 10 default applications, one of which is the "Network Interface". And the column to the right indicates how many items are currently in this app. And that is where the two agents differ -- agent1 (the one on the same machine with the server) has items(2), whereas agent2 has items(0);

    Snapshot for zabbix agent on the same VM with zabbix server: http://i.imgur.com/DMqGM98.png

    Snapshot for zabbix agent on a different VM: http://i.imgur.com/qSox5OX.png

    I clicked in to see what are these two items, and the page suggests that these two items are from the discovery rule for Network Interface:

    The two items that reports network data: ht-tp://i.imgur.com/TPDYupq.png

    I tried to add these two items manually for the other agent, but there doesn't seem to be a way

    The item prototype editor for missing items: ht-tp://i.imgur.com/2FwII0d.png

    (I can't even find the net.if.in[{#IFNAME}] key from the list provided). The item editor where I can't even find the right key ht-tp://i.imgur.com/ozdLW00.png

    Besides, I have no idea how these two items even got in here.

    I'm really new to zabbix and networks in general, so please tell me how I can make the network interface app working.