summaryrefslogtreecommitdiffstats
path: root/health/health.d/linux_power_supply.conf
blob: c0bc6de8a120a1ed07177bdeeebb3054aea98e98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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
     crit: $this < 5
    delay: up 30s down 5m multiplier 1.2 max 1h
     info: percentage of remaining power supply capacity
       to: sysadmin