[Zabbix] Fping can only be run by or not supported
+ Install fping
+ Check fping path
# whereis fping
fping: /usr/sbin/fping /usr/share/man/man8/fping.8.gz
+ Edit file
# vi /etc/zabbix/zabbix_server.conf
Change: FpingLocation=/usr/sbin/fping
+ Chown fping
# chown root:zabbix /usr/sbin/fping
# chmod 710 /usr/sbin/fping
# chmod ug+s /usr/sbin/fping
+ Result
[root@localhost ~]# ll /usr/sbin/fping
-rws--s--- 1 root zabbix 27824 May 19 2010 /usr/sbin/fping
+ Check fping path
# whereis fping
fping: /usr/sbin/fping /usr/share/man/man8/fping.8.gz
+ Edit file
# vi /etc/zabbix/zabbix_server.conf
Change: FpingLocation=/usr/sbin/fping
+ Chown fping
# chown root:zabbix /usr/sbin/fping
# chmod 710 /usr/sbin/fping
# chmod ug+s /usr/sbin/fping
+ Result
[root@localhost ~]# ll /usr/sbin/fping
-rws--s--- 1 root zabbix 27824 May 19 2010 /usr/sbin/fping
Nhận xét
Đăng nhận xét