summaryrefslogtreecommitdiffstats
path: root/health/health.d/linux_power_supply.conf
blob: 38727be2f498a2262ea1195ea1611fa9824965ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Alert on low battery capacity.

template: linux_power_supply_capacity
      on: powersupply.capacity
    calc: $capacity
   units: %
   every: 10s
    warn: $this < 10
    crit: $this < 5
   delay: up 30s down 5m multiplier 1.2 max 1h
    info: the percentage remaining capacity of the power supply
      to: sysadmin