Health checks and machine API

I have a health check run every minute, this is under services.http_checks in my toml file. I would expect it to be listed under checks in the machines api call, with a timestamp that changes every minute. However, that’s not the case, the timestamp shown is the time the machine was deployed. What am I missing?

I’m asking this because I would also expect the machine to be restarted if the health check fails, but that’s not happening either. Every time a health check fails, it appears in the logs as such, but I have to restart the machine manually, even though I have a restart_limit set to 2 in my toml file.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.