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

Ping monitor sends 1 packet if online but 10 if offline #5552

Open
1 task done
rundyz opened this issue Jan 20, 2025 · 0 comments
Open
1 task done

Ping monitor sends 1 packet if online but 10 if offline #5552

rundyz opened this issue Jan 20, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@rundyz
Copy link

rundyz commented Jan 20, 2025

πŸ“‘ I have found these related issues/pull requests

This could be by design but when the state is offline this increases the messaging 10 fold.

Image

πŸ›‘οΈ Security Policy

Description

No response

πŸ‘Ÿ Reproduction steps

using a ping monitor. ICMP messages are sent using retry_number

πŸ‘€ Expected behavior

possibly do the same amount of pings for both

πŸ˜“ Actual Behavior

ping monitor sends 10 requests if ping monitor is down

🐻 Uptime-Kuma Version

1.23.15

πŸ’» Operating System and Arch

Ubuntu 24.04.1 LTS

🌐 Browser

Version 131.0.6778.265 (Official Build) (64-bit)

πŸ–₯️ Deployment Environment

  • Runtime: nodejs v20.18.1
  • Database: sqllite
  • Filesystem used to store the database on: ext4
  • number of monitors: 650

πŸ“ Relevant log output

tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
02:46:00.939830 IP 10.0.1.4 > x.x.x.x: ICMP echo request, id 21716, seq 1, length 64
02:46:01.961282 IP 10.0.1.4 > x.x.x.x: ICMP echo request, id 21716, seq 2, length 64
02:46:02.962299 IP 10.0.1.4 > x.x.x.x: ICMP echo request, id 21716, seq 3, length 64
02:46:04.009253 IP 10.0.1.4 > x.x.x.x: ICMP echo request, id 21716, seq 4, length 64
02:46:05.033258 IP 10.0.1.4 > x.x.x.x: ICMP echo request, id 21716, seq 5, length 64
02:46:06.057287 IP 10.0.1.4 > x.x.x.x: ICMP echo request, id 21716, seq 6, length 64
02:46:07.081278 IP 10.0.1.4 > x.x.x.x: ICMP echo request, id 21716, seq 7, length 64
02:46:08.106306 IP 10.0.1.4 > x.x.x.x: ICMP echo request, id 21716, seq 8, length 64
02:46:09.129270 IP 10.0.1.4 > x.x.x.x: ICMP echo request, id 21716, seq 9, length 64
02:46:10.153259 IP 10.0.1.4 > x.x.x.x: ICMP echo request, id 21716, seq 10, length 64
02:49:10.961140 IP 10.0.1.4 > x.x.x.x: ICMP echo request, id 22165, seq 1, length 64
02:49:11.962485 IP 10.0.1.4 > x.x.x.x: ICMP echo request, id 22165, seq 2, length 64
02:49:13.001324 IP 10.0.1.4 > x.x.x.x: ICMP echo request, id 22165, seq 3, length 64
02:49:14.025246 IP 10.0.1.4 > x.x.x.x: ICMP echo request, id 22165, seq 4, length 64
02:49:15.049235 IP 10.0.1.4 > x.x.x.x: ICMP echo request, id 22165, seq 5, length 64
02:49:16.073672 IP 10.0.1.4 > x.x.x.x: ICMP echo request, id 22165, seq 6, length 64
02:49:17.097327 IP 10.0.1.4 > x.x.x.x: ICMP echo request, id 22165, seq 7, length 64
02:49:18.121270 IP 10.0.1.4 > x.x.x.x: ICMP echo request, id 22165, seq 8, length 64
02:49:19.145327 IP 10.0.1.4 > x.x.x.x: ICMP echo request, id 22165, seq 9, length 64
02:49:20.170196 IP 10.0.1.4 > x.x.x.x: ICMP echo request, id 22165, seq 10, length 64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant