boottime
Use case
Flag hosts that rebooted unexpectedly recently, or - inverted with
reverse_severity (see Configuration) -
hosts that haven’t rebooted in a long time (pending kernel/patch reboot).
Configuration
| Field | Type | Meaning |
|---|---|---|
threshold |
float | days; alert (critical) above this; default 180 |
Output
All datapoints:
| Item | Type | Meaning |
|---|---|---|
boottime_seconds |
int (seconds) | seconds since last reboot |
boottime_days |
int (days) | days since last reboot |
Example
checks:
- module: boottime
name: boottime_local
conf:
threshold: 180