Everything currently in flight
Track server reboots and restarts โ log boot events, uptime, and kernel history via journalctl.
Notes
Tracks: All system reboots and restarts on the host machine.
Data source: journalctl --list-boots, /proc/uptime, systemd unit restart counts.
Dashboard: Standalone HTML file served from the OpenClaw canvas directory.
| Component | File | Description |
|---|---|---|
| Data collector | restart-history/data/collect-restarts.py | Python script that polls journalctl, persists to JSON |
| Dashboard | restart-history/data/dashboard.html | Standalone HTML+JS dashboard (no dependencies) |
| Data file | restart-history/data/restarts.json | Canonical restart event log |
| Grafana-style | restart-history/data/uptime-track.json | Uptime snapshots over time |
{
"total": 2,
"current": {
"boot_id": "61c9e138...",
"since": "2026-05-06T10:40:25Z",
"uptime_seconds": 309708
},
"restarts": [
{
"index": -1,
"boot_id": "5d35dfaa...",
"first_entry": "2026-05-06T10:34:47Z",
"last_entry": "2026-05-06T10:40:11Z",
"duration_seconds": 324,
"shutdown_reason": "reboot"
},
{
"index": 0,
"boot_id": "61c9e138...",
"first_entry": "2026-05-06T10:40:25Z",
"last_entry": "now",
"duration_seconds": null,
"shutdown_reason": "running"
}
]
}
16/17
tasks done
Tasks (17)
View in board โTimeline