zabbix / zabbix-docker

Official Zabbix Dockerfiles
https://www.zabbix.com
GNU Affero General Public License v3.0
2.39k stars 1.38k forks source link

Fping false response #86

Closed jocms closed 7 years ago

jocms commented 7 years ago

Any host I register on Zabbix return "is alive":

bash-4.3# fping 10.42.0.31
10.42.0.31 is alive
bash-4.3# fping 10.42.0.32
10.42.0.32 is alive
bash-4.3# fping 10.42.0.33
10.42.0.33 is alive
bash-4.3# fping 10.10.10.10
10.10.10.10 is alive
bash-4.3# fping 1.2.0.9
1.2.0.9 is alive

Image: zabbix/zabbix-server-mysql:latest

neogan74 commented 7 years ago

Looks strange. Is this true only for hosts which defined in Zabbix web frontend? What is output of the ip route and ip address. What default ping is return? ping 10.10.10.10 -c 5 -q

jocms commented 7 years ago
bash-4.3# ping 10.10.10.10 -c 5 -q
PING 10.10.10.10 (10.10.10.10): 56 data bytes

--- 10.10.10.10 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 0.448/0.482/0.509 ms
bash-4.3# ping 1.2.3.4 -c 5 -q
PING 1.2.3.4 (1.2.3.4): 56 data bytes

--- 1.2.3.4 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 0.402/0.445/0.524 ms
bash-4.3# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         172.17.0.1      0.0.0.0         UG    0      0        0 eth0
172.17.0.0      0.0.0.0         255.255.0.0     U     0      0        0 eth0
bash-4.3# traceroute 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 46 byte packets
 1  172.17.0.1 (172.17.0.1)  0.006 ms  0.005 ms  0.003 ms
 2  *  *  *
 3  *  *  *
 4  *  *  *
 5  *  *  *
 6  *  *  *
 7  *  *  *
 8  *  *  *
 9  *  *  *
10  *  *  *
11  *  *  *
12  *  *  *
13  *  *  *
14  *  *  *

Edit: Its a problem with Docker in MacOs.

dotneft commented 7 years ago

not related to Zabbix