Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IP is marked as unavailable but it is available #114

Open
q000p opened this issue Jul 3, 2024 · 1 comment
Open

IP is marked as unavailable but it is available #114

q000p opened this issue Jul 3, 2024 · 1 comment

Comments

@q000p
Copy link

q000p commented Jul 3, 2024

This is info from IP:9427/metrics

# HELP ping_loss_ratio Packet loss from 0.0 to 1.0
# TYPE ping_loss_ratio gauge
ping_loss_ratio{ip="192.168.60.3",ip_version="4",target="192.168.60.3"} 0
ping_loss_ratio{ip="192.168.91.1",ip_version="4",target="192.168.91.1"} 1
ping_loss_ratio{ip="192.168.92.1",ip_version="4",target="192.168.92.1"} 1

And I tried to ping this hosts:

root@monitoring:~# ping 192.168.91.1
PING 192.168.91.1 (192.168.91.1) 56(84) bytes of data.
64 bytes from 192.168.91.1: icmp_seq=1 ttl=62 time=203 ms
64 bytes from 192.168.91.1: icmp_seq=2 ttl=62 time=203 ms
64 bytes from 192.168.91.1: icmp_seq=3 ttl=62 time=202 ms
64 bytes from 192.168.91.1: icmp_seq=4 ttl=62 time=203 ms

--- 192.168.91.1 ping statistics ---
5 packets transmitted, 4 received, 20% packet loss, time 4002ms
rtt min/avg/max/mdev = 202.318/202.836/203.260/0.356 ms
root@monitoring:~# ping 192.168.92.1
PING 192.168.92.1 (192.168.92.1) 56(84) bytes of data.
64 bytes from 192.168.92.1: icmp_seq=1 ttl=62 time=203 ms
64 bytes from 192.168.92.1: icmp_seq=2 ttl=62 time=202 ms
64 bytes from 192.168.92.1: icmp_seq=3 ttl=62 time=203 ms
64 bytes from 192.168.92.1: icmp_seq=4 ttl=62 time=204 ms

--- 192.168.92.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3001ms
rtt min/avg/max/mdev = 202.345/203.057/203.979/0.626 ms

What reason to show wrong info?

@IaroslavSapak
Copy link

also have the same problem. If I restart the service all starts to work well and metrics show real loss

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants