Monitoring Data Missing Playbook
Who this is for
Users who see blank or stale charts in the Monitoring tab, or whose metrics haven't updated in a while.
How Monitoring Data Works
CloudAIPilot collects server metrics (CPU, memory, disk, network) via two methods:
- CloudAIPilot Agent — a lightweight agent installed on the server, reports metrics directly.
- SSH polling — CloudAIPilot SSH-es into the server periodically to collect metrics.
If neither method is working, the monitoring charts will be blank or stale.
Step 1 — Check the Agent Status
- Open Server detail → Monitoring tab.
- Look for an Agent status indicator.
- If the agent shows "Offline" or "Not installed":
If agent was previously installed:
- SSH to the server and check:
sudo systemctl status cloudpilot-agent - Restart if needed:
sudo systemctl restart cloudpilot-agent
If agent is not installed:
- Go to Server detail → click Install Agent.
- Follow the instructions to install the monitoring agent.
Step 2 — Check SSH Polling (Fallback)
If the agent is unavailable, CloudAIPilot falls back to SSH polling. If metrics are still missing:
- Verify SSH is working — see KB-12-05: SSH Unreachable Playbook.
- Once SSH is restored, metrics collection resumes automatically.
Step 3 — Check for Data Gaps
If some time periods are missing in charts but newer data is present:
- The server was offline during that period. Gaps in monitoring charts represent periods when the server was unreachable.
- This is expected and does not require any action.
Step 4 — Check the Server Status
If the server status is stopped:
- CloudAIPilot cannot collect metrics from a stopped server.
- Start the server to resume metrics collection.
If the server status is error:
- Check the server's error state and resolve it — see KB-02-06: Server Statuses Explained.
Step 5 — Wait for Metrics to Appear
After restoring connectivity or installing the agent:
- Metrics typically appear within 1–5 minutes.
- Charts update in near real-time once the agent or SSH polling resumes.
If metrics do not appear after 10 minutes of confirmed SSH/agent connectivity, reload the CloudAIPilot dashboard.
Common Scenarios
| Symptom | Likely cause | Fix |
|---|---|---|
| Blank chart for all metrics | SSH down or agent offline | Restore SSH or restart agent |
| Charts show data up to X hours ago, then blank | Server or agent crashed at that time | Restart agent or fix SSH |
| Disk usage not updating | Agent reporting but disk metric missing | Reinstall agent or check agent config |
| CPU shows 0% when server is clearly busy | SSH/agent data is stale — dashboard cached | Refresh the page; check agent status |
| Monitoring data fine but alerts never fire | Alert rules misconfigured | Check threshold values — see KB-06-03 |
Related Articles
- KB-12-05: SSH Unreachable Playbook
- KB-06-01: Monitoring Dashboard Overview
- KB-06-02: Metrics Meanings and Sampling Windows