A resource monitor watches a server from the inside. You run the LivePulser agent on the machine. It measures CPU, memory, disk, swap and network every few seconds and uploads the readings to LivePulser. You set a threshold for each metric in the dashboard, and LivePulser opens an incident when a metric stays at or above its threshold, or when the agent stops reporting.
This guide covers what the agent measures, creating the monitor, confirming the first report, and how thresholds and alert timing work. To install the agent itself, see Install the server agent. Every configuration option and file path is in the Agent configuration reference.
How it works
- The agent takes a sample every 10 seconds (longer at long upload intervals, see Sampling and uploads).
- It sends the samples to LivePulser in one batch every upload interval, one minute by default. Each upload also tells LivePulser the agent is still alive.
- LivePulser checks every sample against your thresholds and opens or closes incidents. The agent runs the same check locally only to decide when to upload early, so an alert doesn't wait for the next scheduled upload.
- Thresholds, alert timing and the upload interval are set in the dashboard. The agent fetches them by itself.
What the agent measures
All readings describe the machine the agent runs on.
| Metric | Unit | What it means |
|---|---|---|
| CPU usage | % | Busy time across all CPUs over the sample, from 0 to 100. Time waiting for disk I/O counts as idle. This is not load average. |
| Memory usage | % | Memory in use. On Linux: total minus available memory, so reclaimable cache doesn't count as used. On macOS: app, wired and compressed memory, like Memory Used in Activity Monitor. On Windows: the In use figure from Task Manager. |
| Disk usage | % | How full one filesystem is: / on Linux and macOS, the system drive on Windows. On macOS it counts the whole APFS container. On Linux it includes blocks reserved for root, so it can differ slightly from the Use% column of df. |
| Swap usage | % | How much swap is in use. On Windows this is the paging file. A Linux server with no swap reports it as unavailable, not 0 %. |
| Upload / download | bytes per second | Traffic sent and received on one network interface, averaged over the sample. By default this is the interface of the primary default route. Traffic on other interfaces, such as container bridges or VPN tunnels, isn't counted. |
If a value can't be measured reliably, the agent sends it as unavailable rather than as zero. The dashboard shows it as No data and a gap in the chart. An unavailable reading can't open an alert.
Network readings are in bytes, not bits. A 100 Mbit/s link is about 12.5 MB/s at full speed.
The agent doesn't collect load average, disk I/O, per-process data, GPU usage, temperatures or logs. It measures one filesystem and one network interface per monitor, and neither can be changed in the dashboard today. Network filesystems aren't supported for the disk reading.
Set up a server monitor
- Click New monitor and choose Server. Resource monitors are on paid plans only; on Free the card is locked.
- Enter a Monitor name, such as web-01, and optional Tags. Click Continue.
- Set the thresholds under Resource thresholds and Network speed thresholds (see Thresholds and alert timing). You can change them later. Click Continue.
- Choose where alerts go on the Alerts step, check the Review step and click Create monitor.
- The completion screen lists three steps. Under 1. Save the API key, click Reveal or Copy key and store the key somewhere safe now. It's only available during this visit.
- Under 2. Install the agent on your server, copy the command for your platform. It already contains the monitor ID. Run it on the server and paste the key when it asks. For other ways to install, see Install the server agent.
- 3. Wait for the first report shows when the agent has reported. Later, the monitor ID and install command are on the monitor page under Agent connection & API key.
The monitor ID is a UUID and isn't secret. The API key is 43 characters long; treat it like a password.
Confirm the first report
Until the agent reports, the completion screen says Waiting for the first report from your agent and the monitor page shows Status Waiting for data. The first upload arrives about one upload interval after the agent starts, because it needs a full interval of samples first.
After that, the summary at the top of the monitor page shows:
- Status: Healthy when every reading is in and no alert is open.
- Platform: the operating system and architecture the agent reported.
- Last report, Reporting interval and Next deadline (when the server will count as offline if nothing more arrives).
Each metric chart shows the latest reading straight away. The history lines fill in as each five-minute period closes; lines show averages, and shading shows the minimum to maximum range. Live readings refresh every minute while the page is focused, or click Refresh.
| Status | Meaning |
|---|---|
| Waiting for data | A key exists, but no upload has arrived yet. |
| Healthy | The latest upload had a value for every metric and no alert is open. |
| Over limit | A threshold alert is open. The page names the metrics, their values and the level they must fall to. |
| Offline | No upload arrived in time. The page shows No reports from the agent with the time of the last upload. |
| Unknown | A metric was unavailable in the latest upload (for example swap on a server without swap), or no upload has arrived since monitoring resumed. |
| Maintenance | A maintenance window is active. Breaches aren't recorded and the server can't go offline until it ends. |
| Paused | The monitor is paused. The agent's uploads are refused. |
| Provisioning | The monitor has no active key, for example because its key was revoked. |
| unavailable | The dashboard can't read the live state right now. Click Refresh to try again. |
Thresholds and alert timing
Set thresholds when you create the monitor, or later with Thresholds in the monitor's actions sidebar. The alert timing and upload interval are only in Thresholds.
| Setting | Meaning | Default and range |
|---|---|---|
| CPU usage, Memory usage, Disk usage, Swap usage | Alert when the metric is at or above this percentage. | 80 %. From 1 to 100 %. |
| Upload speed, Download speed | Alert when traffic is at or above this rate. Units are B/s, KB/s, MB/s and GB/s, where 1 KB = 1,024 bytes. | 10 KB/s upload, 100 KB/s download. From 1 B/s to 1,000,000,000,000 B/s. |
| Alert after (s) | How long a metric must stay at or above its threshold before an alert opens. Spikes shorter than this are ignored. | 30 seconds. Whole seconds from 10 to 3,600. |
| Recover after (s) | How long the metrics that caused the alert must stay at or below their recovery level before it closes. | 60 seconds. Whole seconds from 10 to 3,600. |
| Recovery margin | How far below the threshold the recovery level sits: percentage points for CPU, memory, disk and swap, and a percentage of the threshold for network. 0 means the recovery level is the threshold itself. | 0. From 0 to 20 in steps of 0.5. Must be smaller than every percentage threshold. |
| Agent upload interval | How often the agent uploads its samples. It also sets the sample period and how quickly an offline server is noticed. | 1 minute. 30 seconds, or 1, 2, 5, 10, 15, 30 or 60 minutes. The fastest is 1 minute on Starter and Team, 30 seconds on Pro. |
Every metric always has a threshold; you can't switch one off. To stop a metric alerting in practice, set it to the top of its range.
When an alert opens and closes
An alert opens once a metric has been at or above its threshold for the whole Alert after (s) time. Because each reading covers one sample, this works in whole samples: with 10-second samples and the default 30 seconds, three readings in a row must be at or above the threshold. A reading below the threshold, or an unavailable one, starts the count again.
The alert closes once every metric that caused it has stayed at or below its recovery level for the Recover after (s) time. Other metrics don't hold up recovery. One incident covers the outage, it lists the metrics that breached, and a recovery notification is sent when it closes. See Incidents and recovery.
Example: CPU threshold 90 %, Alert after (s) 120, Recover after (s) 60 and Recovery margin 10. An alert opens when CPU stays at or above 90 % for two minutes, and closes once it has stayed at or below 80 % for one minute. For a download threshold of 100 MB/s with the same margin, the recovery level is 90 MB/s.
Changing a metric's threshold restarts that metric's timers, and changing the recovery margin restarts recovery timers. An open alert stays open until it recovers under the new values.
Sampling and uploads
One upload carries at most 60 samples, so the sample period grows with long upload intervals. The upload interval also decides when a silent server counts as offline: three intervals plus 30 seconds.
| Agent upload interval | Sample every | Offline after |
|---|---|---|
| 30 seconds | 10 seconds | 2 minutes |
| 1 minute (default) | 10 seconds | 3.5 minutes |
| 2 minutes | 10 seconds | 6.5 minutes |
| 5 minutes | 10 seconds | 15.5 minutes |
| 10 minutes | 10 seconds | 30.5 minutes |
| 15 minutes | 15 seconds | 45.5 minutes |
| 30 minutes | 30 seconds | 90.5 minutes |
| 60 minutes | 60 seconds | 180.5 minutes |
When the agent's own check sees a breach start or end, it uploads straight away, at most four times a minute. So a longer upload interval doesn't delay threshold alerts, but it does delay offline detection and makes each reading coarser.
When the agent stops reporting
If no upload arrives by the Next deadline (three upload intervals plus 30 seconds after the last one), LivePulser marks the server Offline, opens an incident and alerts. The server may be down, the agent may have stopped, or the network path to LivePulser may be broken. The next upload closes an offline-only incident.
An agent whose key was rejected stops sending until you reload the key, so a key problem also ends up as an offline alert. See Rotate the API key.
How changes reach the agent
You don't need to restart the agent after changing settings in the dashboard. Every upload response carries the current configuration version, and the agent fetches the new configuration when it changes. It also fetches it at startup, every 60 seconds while the monitor is paused, and once an hour as a safety net. A change can take up to one upload interval to arrive.
Maintenance and pausing
During a maintenance window, the status shows Maintenance, breaches aren't recorded, and the server can't go offline. The offline deadline moves to three upload intervals plus 30 seconds after the window ends. See Maintenance windows.
While the monitor is paused, the agent keeps running, its uploads are refused and its readings are dropped. It checks for a change every 60 seconds and starts sending again by itself after you resume. After resuming, LivePulser expects an upload within three intervals plus 30 seconds. See Pausing and resuming.
Rotate the API key
- On the monitor page, expand Agent connection & API key, click Rotate API key and confirm with Replace key. You can also rotate from Account → API keys. Only admins and owners can rotate. Copy the new key; it's shown once.
- Wait until the message Configuration is being applied disappears. The old key keeps working until then.
- Replace the contents of the key file on the server with the new key, then tell the agent to reload it.
| Platform | Replace the key, then reload |
|---|---|
| Linux | sudo sh -c 'cat > /etc/livepulser-agent/api-key', then sudo systemctl reload livepulser-agent |
| macOS | sudo sh -c 'cat > /usr/local/etc/livepulser-agent/api-key', then sudo launchctl kill HUP system/com.livepulser.agent |
| Windows | From an elevated prompt in the release folder, run install.ps1 again with the same monitor ID and paste the new key. Or edit C:\ProgramData\LivePulser\api-key from an elevated prompt and run sc.exe control LivePulserAgent paramchange |
If the agent reloads before LivePulser has applied the new key, the new key is rejected and the agent stops sending. Reload again a few seconds later. See Monitor keys.
Troubleshooting
| Problem | Likely cause | What to do |
|---|---|---|
| Status stays Waiting for data, then goes Offline | The agent isn't running, can't reach https://rs.livepulser.com, or uses the wrong monitor ID or key. | Run the agent's --check command and read its log. See Install the server agent. |
| Status shows Unknown instead of Healthy | One metric is unavailable on this server, most often swap on a Linux server that has no swap. Every metric has a threshold, so the status can't be healthy. | Nothing is broken: the other metrics still alert, and offline detection still works. Adding swap to the server makes the status healthy. |
| Upload and download show No data and never alert | The agent can't pick one network interface, for example because two default routes are equally preferred. | Make one default route preferred. The interface can't be chosen in the dashboard today. |
| Offline right after rotating the key | The agent still has the old key, or reloaded before the new key was applied. | Write the new key to the key file and reload the agent again. |
| Too many alerts for network traffic | The default network thresholds are below normal traffic. | Raise Upload Speed and Download Speed above normal peaks. |
| An alert flaps open and closed | The value hovers around the threshold. | Set a Recovery margin, or a longer Recover after (s). |
| Disk usage differs from df | The agent counts blocks reserved for root as used. | Expected on Linux; the difference is usually a few percent. |
| Readings rejected; the log mentions the system clock | The server's clock is far from the real time. | Turn on NTP or Windows time sync. |
Agent errors, exit codes and log messages are covered in Install the server agent and the Agent configuration reference.