summaryrefslogtreecommitdiffstats
path: root/health/health.d/linux_power_supply.conf
blob: e28c246a31b4054ef18ecda1d7a0c7b1df180245 (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: Power Supply
component: Battery
     type: Utilization
     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