summaryrefslogtreecommitdiffstats
path: root/health/health.d/linux_power_supply.conf
blob: b0d35e752b3fadc9956580e94835515a15369d36 (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
    delay: up 30s down 5m multiplier 1.2 max 1h
  summary: Power supply capacity
     info: Percentage of remaining power supply capacity
       to: silent