First, login Zabbix server to do the following operations:
1.fping Installation
wget http://www.fping.org/dist/fping-3.16.tar.gz
Tar zxvf fping-3.16.tar.gz
CD fping-3.16
./configure--prefix=/usr/local/fping/
Make && make install
2. Modify the zabbix_server.conf configuration file
# Zabbix-server-side profile path installed in Yum mode
Vim/etc/zabbix/zabbix_server.conf
Modify the Fpinglocation path to the fping path you just installed.
Fpinglocation=/usr/local/fping/sbin/fping
If you do not modify the zabbix_server.conf configuration, you need to use a soft connection to the/usr/local/sbin/fping,zabbix default fping path is/usr/sbin/fping
[Root@node2 fping-3.16]# chown root:zabbix/usr/local/fping/sbin/fping
[Root@node2 fping-3.16]# chmod 4710/usr/local/fping/sbin/fping
[Root@node2 fping-3.16]#/usr/local/fping/sbin/fping www.baidu.com
Www.baidu.com is alive
Second, landing Zabbix monitoring web site to do the following settings
1. Open the Zabbix-configuration-host-creat host to add the IP addresses that need to be monitored, and host name to add the IP addresses that need to be monitored, as shown in the following figure:
2. Select Template Template ICMP ping
3. Add graphs
Third, the plot effect is as follows
Four, the trigger template has been self-brought, set the alarm mode can receive alarm mail.