mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
monitor type ping stopped working #177
Labels
No labels
A:accessibility
A:api
A:cert-expiry
A:core
A:dashboard
A:deployment
A:documentation
A:domain expiry
A:incidents
A:maintenance
A:metrics
A:monitor
A:notifications
A:reports
A:settings
A:status-page
A:ui/ux
A:user-management
Stale
ai-slop
blocked
blocked-upstream
bug
cannot-reproduce
dependencies
discussion
duplicate
feature-request
feature-request
good first issue
hacktoberfest
help
help wanted
house keeping
invalid
invalid-format
invalid-format
question
releaseblocker 🚨
security
spam
type:enhance-existing
type:new
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/uptime-kuma#177
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ovizii on GitHub (Aug 31, 2021).
Info
Uptime Kuma Version: 1.3.2
Using Docker?: Yes
OS: Windows (client) Docker with uptime-kuma runs on Debian 10
Browser: Chrome
I installed uptime-kuma a few days ago and setup a few monitors, most of them https and one as ping type. The ping type one stopped working yesterday evening. I know the target is up, even if I do a
docker exec -ti uptime-kuma shand do a manual ping to the same target the ping works so why does it keep failing for a full 24h inside uptime-kuma?Also, uptimerobot reports no issues pinging this particular host.
Open for any suggestions.
@louislam commented on GitHub (Aug 31, 2021):
Are there any error? You can over the bar, check docker log or event list
@ovizii commented on GitHub (Aug 31, 2021):
Every single ping fails since yesterday. docker-compose down followed by docker-compose pull and docker.compose up -d does not show any errors or changes besides the failed ping.
Not sure if it will help but here you go:
I've shortened the logs output but as you can see, the ping is failing.
from my docker host:
@louislam commented on GitHub (Aug 31, 2021):
Really strange, as Uptime-kuma is also using the builtin "ping"
Could you also try this? This is how Uptime Kuma executes the ping command
@ovizii commented on GitHub (Aug 31, 2021):
That does indeed fail. Need to check the manual what all those switches for the ping command do.
@ovizii commented on GitHub (Aug 31, 2021):
from inside your container, the '-n' option seems unknown.
I upped the seconds to wait to 5 and the ping works all of a sudden:
Might be internet problems at home where this NAS runs? I'm currently travelling so can'T physically check but I can access my services at home just fine.
@louislam commented on GitHub (Aug 31, 2021):
Still a bit strange as your response time is within 2 seconds.
@louislam commented on GitHub (Aug 31, 2021):
My guess: Your dns server is slow. It takes more than 2 seconds to resolve a domain.
You can ping the IP directly.
@chakflying commented on GitHub (Aug 31, 2021):
@louislam Seems like DNS is still a huge problem. Looking around curiously I found that many people reported having DNS issues on Alpine with Docker, and some reported issues fixed by switching to Debian or other OS. Might be worth switching to Debian despite the larger image size.
@louislam commented on GitHub (Aug 31, 2021):
Omg, that is surprising me...
@ovizii Could you please help me try again the command in your host machine? Thank you.
If your host machine is working, than I believe that Alpine Docker is having a huge problem.
@ovizii commented on GitHub (Sep 1, 2021):
here you go, that seems to have instantly worked:
@ovizii commented on GitHub (Sep 1, 2021):
Please let me know if you think its my local system and not due to the alpine base image, I can do further tests.
@louislam commented on GitHub (Sep 1, 2021):
I have built a debian base image, I think it will eventually fix your problem.
@ovizii commented on GitHub (Sep 1, 2021):
Thanks, I have switched to :1.5.2-debian and everything seems fine. I guess I'll check in a few weeks later and figure out how you are handling tags.
For now I'll keep using 1.5.2-debian - maybe later you'll have a generic :debian or whatever.
@louislam commented on GitHub (Sep 1, 2021):
If Debian is better for most users, I will use Debian as main tag in the future. For example:
@ovizii commented on GitHub (Sep 1, 2021):
Just wanted to let you know, that I have now added fixed DNS servers to uptime-kuma's docker-compose.yml file
Response times have gone seriously down compared to before. Before this, the docker host used to use a locally (Docker run) DNS (adguard home).
@IIIdefconIII commented on GitHub (Oct 16, 2024):
Hi is there a fix in WIP? also the docker containers here are not been read anymore.
Thanks alot! Love this tools for a lon period now
@IIIdefconIII commented on GitHub (Oct 16, 2024):
the docker sock does get read ibut the statusses are offline


as while those containers are up and running smooth
@IIIdefconIII commented on GitHub (Oct 16, 2024):
This is wait i get when i try to clean the database file
EDIT: Can anyone tell me how to unlock the database?
LOG: