HomarrH
Homarr4mo ago
6 replies
Nicolas

HTTP status codes

Hi everyone,

I am new with homarr.

I ve seen screenshots from previous versions of homarr, where it was possible to choose which HTTP status code should be considered when determining if an application is online or offline (see attached screenshot).

I do not find this option in latest version of homarr. Is there a way to enable it, or has it been removed?

Thanks a lot for your help!
image.png
Solution
Hi, this option has been removed. The HTTP status code specification documents which codes are considered to be "success": https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status
The "ping" feature in Homarr is intended to be a very simple feature, and it isn't supposed to check status codes. Hence we removed it (1.0 is a complete rewrite, we simply didn't copy it over). There will eventually be an Uptime Kuma integration, where it will simply use the state from Uptime Kuma. Using that, you'll be able to monitor much more apps and also specify which codes are allowed.
MDN Web Docs
HTTP response status codes indicate whether a specific HTTP request has been successfully completed.
Responses are grouped in five classes:
HTTP response status codes - HTTP | MDN
Was this page helpful?