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

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