cpu
Use case
Alert when overall host CPU usage runs too hot for too long.
Configuration
| Field | Type | Meaning |
|---|---|---|
threshold |
float | percent; alert (critical) above this; 0/unset = never alert |
Output
| Item | Type | Meaning |
|---|---|---|
cpu_count |
int | available CPUs (tag) |
cpu |
float (%) | CPU percentage in use, sampled over 1s (datapoint) |
Example
checks:
- module: cpu
name: cpu_local
conf:
threshold: 90