The latest result for each healthcheck can be retrieved through the API.
curl 127.0.0.1:9013/api/v1/result
{"result": [
{
"name": "dns-check",
"summary": "DNS healthcheck example on appclacks.com",
"success": true,
"healthcheck-timestamp": 1687724429,
"message": "success",
"duration": 35,
"source": "configuration"
}
]
}
curl 127.0.0.1:9013/api/v1/result/dns-check
{
"name": "dns-check",
"summary": "DNS healthcheck example on appclacks.com",
"success": true,
"healthcheck-timestamp": 1687724459,
"message": "success",
"duration": 144,
"source": "configuration"
}