zabbix fping
shell> chown root:zabbix /usr/sbin/fping shell> chmod 710 /usr/sbin/fping shell> chmod ug+s /usr/sbin/fping
CentOS 5 | centos.karan.org/el5/extras/testing/x86_64/RPMS/fping-2.4b2-7.el5.kb.x86_64.rpm |
CentOS 5 | centos.karan.org/el5/extras/testing/i386/RPMS/fping-2.4b2-7.el5.kb.i386.rpm |
Checks if server is accessible by ICMP ping. 0 – ICMP ping fails. 1 – ICMP ping successful. One of zabbix_server processes performs ICMP pings once per PingerFrequency seconds
zabbix fping
web03# wget http://fping.sourceforge.net/download/fping.tar.gz web03# tar zxf fping.tar.gz web03# cd fping-2.4b2_to web03# ./configure web03# make && make install
安装完毕后,一起就2个文件:
/usr/local/sbin/fping #执行文件 /usr/local/man/man8/fping.8 #man文件
设置fping权限:
web03# chown root:zabbix /usr/local/sbin/fping web03# chmod 710 /usr/local/sbin/fping web03# chmod ug+s /usr/local/sbin/fping
发表回复