Back to Catalog
job-config.json
{
"config": {
"expected_status": [
200,
201,
204
],
"headers": {
"User-Agent": "OneOff-HealthCheck/1.0"
},
"method": "GET",
"retry": {
"attempts": 2,
"delay": 5000
},
"timeout": 30,
"url": "${HEALTH_CHECK_URL}"
},
"type": "http"
}Import via API
curl -X POST http://localhost:8080/api/jobs -H "Content-Type: application/json" -d '{"config":{"expected_status":[200,201,204],"headers":{"User-Agent":"OneOff-HealthCheck/1.0"},"method":"GET","retry":{"attempts":2,"delay":5000},"timeout":30,"url":"${HEALTH_CHECK_URL}"},"type":"http"}'Or copy the config above and create the job manually via the web UI.
HTTP Health Check Ping
Perform a simple HTTP health check against any endpoint. Useful for monitoring services, triggering keep-alive requests, or validating deployments.
Job TypeHTTP
CategoryMonitoring & Alerts
Tags
#monitoring #health-check #http #uptime
Added on January 16, 2025
