linux_power_supply.conf 388 B

123456789101112131415
  1. # Alert on low battery capacity.
  2. template: linux_power_supply_capacity
  3. on: powersupply.capacity
  4. class: Utilization
  5. type: Power Supply
  6. component: Battery
  7. calc: $capacity
  8. units: %
  9. every: 10s
  10. warn: $this < 10
  11. crit: $this < 5
  12. delay: up 30s down 5m multiplier 1.2 max 1h
  13. info: percentage of remaining power supply capacity
  14. to: sysadmin