0

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.

0

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.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.