webserv/htdocs/site-2/api/health.json
2025-10-09 22:57:31 +02:00

45 lines
994 B
JSON

{
"status": "healthy",
"timestamp": "2025-01-27T10:30:00.000Z",
"checks": {
"database": {
"status": "up",
"response_time_ms": 2.1,
"last_check": "2025-01-27T10:29:55.000Z"
},
"memory": {
"status": "ok",
"usage_percent": 65.4,
"available_mb": 5632,
"threshold_percent": 80
},
"disk": {
"status": "ok",
"usage_percent": 42.1,
"available_gb": 125.7,
"threshold_percent": 90
},
"network": {
"status": "up",
"active_connections": 127,
"max_connections": 10000,
"bandwidth_utilization_percent": 15.2
},
"services": {
"web_server": {
"status": "running",
"port": 8080,
"uptime_seconds": 172800
},
"log_service": {
"status": "running",
"last_rotation": "2025-01-27T00:00:00.000Z"
}
}
},
"overall_status": "healthy",
"uptime_seconds": 172800,
"version": "1.0.0",
"environment": "production"
}