[GH-ISSUE #490] HealthCheck Suggestion #276

Closed
opened 2026-04-08 16:51:39 +03:00 by zhus · 3 comments
Owner

Originally created by @capncybo on GitHub (Nov 25, 2024).
Original GitHub issue: https://github.com/sigoden/dufs/issues/490

Thanks Sigoden, I Absolutely LOVE your DUFS software.
Very much appreciated!!!

Perhaps your intent was ONLY for local server verification
[Note: I previously missed the (example) being ONLY the local loopback address 127.0.0.1]
Ex)
curl http://10.19.38.66:50000/dufs/health
{"status":"OK"}

And Re-reading it now... (It makes complete sense to me).
However, while previously tinkering around (with some other simple bash scripts) I was thinking perhaps something like...
Ex)
curl http://10.19.38.66:50000/dufs/health?simple
OK

Might be nice, & probably easy for you to implement.
Although I do understand... Almost any response should indicate the server is up & online...
So, I'm no longer sure of the validity of my ask, LOL

Originally created by @capncybo on GitHub (Nov 25, 2024). Original GitHub issue: https://github.com/sigoden/dufs/issues/490 Thanks Sigoden, I Absolutely LOVE your DUFS software. Very much appreciated!!! Perhaps your intent was ONLY for local server verification [Note: I previously missed the (example) being ONLY the local loopback address 127.0.0.1] Ex) curl http://10.19.38.66:50000/__dufs__/health {"status":"OK"} And Re-reading it now... (It makes complete sense to me). However, while previously tinkering around (with some other simple bash scripts) I was thinking perhaps something like... Ex) curl http://10.19.38.66:50000/__dufs__/health?simple OK Might be nice, & probably easy for you to implement. Although I do understand... Almost any response should indicate the server is up & online... So, I'm no longer sure of the validity of my ask, LOL
zhus closed this issue 2026-04-08 16:51:39 +03:00
Author
Owner

@sigoden commented on GitHub (Nov 26, 2024):

dufs already supports the health api #474

<!-- gh-comment-id:2499192169 --> @sigoden commented on GitHub (Nov 26, 2024): dufs already supports the health api #474
Author
Owner

@capncybo commented on GitHub (Nov 26, 2024):

Thanks BUT, what I meant was... for DUFS to answer the HealthCheck in a simple format.
NOT just the already existing reply in json format.
But only If you append: "?simple" to the URL
Ex)
curl http://10.19.38.66:50000/dufs/health**?simple**
OK

<!-- gh-comment-id:2499275062 --> @capncybo commented on GitHub (Nov 26, 2024): Thanks BUT, what I meant was... for DUFS to answer the HealthCheck in a **simple** format. NOT just the already existing reply in json format. But only If you append: "?simple" to the URL Ex) curl http://10.19.38.66:50000/__dufs__/health**?simple** OK
Author
Owner

@sigoden commented on GitHub (Nov 26, 2024):

We will not support this feature.

Just check if the value is {"status":"OK"} or contains OK (grep OK).

<!-- gh-comment-id:2499291966 --> @sigoden commented on GitHub (Nov 26, 2024): We will not support this feature. Just check if the value is `{"status":"OK"}` or contains OK (`grep OK`).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#276