After mounting the OS linux template, we found that all NICs are 0.
Remote get is found to be 0
[Root @ iZ626l9a5x1Z ~] # Zabbix_get-s 149.2.120.34-k net. if. out [eth0]
0
Check whether the current NIC is normal if it is found on the monitored host!
[Root @ ns3723989 ~] # Zabbix_agentd-t net. if. discovery
Net. if. discovery [s | {"data": [{"{# IFNAME}": "teql0" },{ "{# IFNAME}": "eth0 "}, {"{# IFNAME}": "docker0" },{ "{# IFNAME}": "eth1" },{ "# IFNAME}": "dummy0 "}, {"{# IFNAME}": "bond0" },{ "{# IFNAME}": "ifb0" },{ "# IFNAME}": "ip6tnl0 "}, {"{# IFNAME}": "ifb1" },{ "{# IFNAME}": "sit0" },{ "{# IFNAME}": "lo "}, {"{# IFNAME}": "tunl0"}]
[Root @ ns3723989 ~] #
The value is also normal.
[Root @ ns3723989 ~] # Zabbix_agentd-t net. if. out [eth0]
Net. if. out [eth0] [u | 18019795877]
[Root @ ns3723989 ~] # Zabbix_agentd-t net. if. in [eth0]
Net. if. in [eth0]
[U | 2307011385657]
Refer:
Https://www.zabbix.com/documentation/3.2/manual/config/items/itemtypes/zabbix_agent
Important reference: http://neuro.me.uk/2009/09/20/revert-to-standard-ubuntu-kernel-on-ovh-or-kimsufi-servers/
Restart zabbix-agentd and test on the server.
The exciting moment is coming, and there is still no data
[Root @ iZ626l9a5x1Z ~] # Zabbix_get-s 149.2.120.34-k eth0_input
0
[Root @ iZ626l9a5x1Z ~] # Zabbix_get-s 149.2.120.34-k eth0_output
0
[Root @ iZ626l9a5x1Z ~] #
[Root @ ns3723989 ~] # Wget http://nchc.dl.sourceforge.net/project/zabbix/ZABBIX%20Latest%20Stable/3.2.1/zabbix-3.2.1.tar.gz
[Root @ ns3723989 ~] # Tar zabbix-3.2.1.tar.gz-C/usr/local/
[Root @ ns3723989 ~] # Cd/usr/local/
[Root @ ns3723989/usr/local/zabbix-3.2.1] #./configure -- prefix =/usr/local/zabbix -- enable-agent
[Root @ ns3723989/usr/local/zabbix-3.2.1] # make & make install
[Root @ ns3723989/usr/local/zabbix-3.2.1] # cp/usr/local/zabbix-3.2.1/misc/init. d/fedora/core5/zabbix_agentd/etc/init. d/
[Root @ ns3723989/usr/local/zabbix-3.2.1] # vim/etc/init. d/zabbix_agentd modify path
/[Root @ ns3723989/usr/local/zabbix-3.2.1] # etc/init. d/zabbix_agentd restart
[Root @ ns3723989/usr/local/zabbix/etc] # tail-f/tmp/zabbix_agentd.log
17730: 20161103: 140314.375 IPv6 support: NO
17730: 20161103: 140314.375 TLS support: NO
17730: 20161103: 140314.375 **************************
17730: 20161103: 140314.375 using configuration file:/usr/local/zabbix/etc/zabbix_agentd.conf
17730: 2016103: 140314.375 agent #0 started [main process]
17732: 20161103: 140314.375 agent #1 started [collector]
17733: 201613: 140314.376 agent #2 started [listener #1]
17734: 201603: 140314.376 agent #3 started [listener #2]
17736: 2016103: 140314.376 agent #5 started [active checks #1]
17735: 201113: 140314.376 agent #4 started [listener #3]
However, this does not solve the problem.