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

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