summaryrefslogtreecommitdiffstats
path: root/health
diff options
context:
space:
mode:
authorVladimir Kobal <vlad@prokk.net>2018-12-13 18:48:26 +0200
committerGitHub <noreply@github.com>2018-12-13 18:48:26 +0200
commit2e6d26bafd5ce00b47d098a045a1d9c4f2d84936 (patch)
tree82483fca470ee7a6c18f1f16a89c040fc6ecff6b /health
parenteef866e721486ebb21b7650f6c73b9ffa16f8383 (diff)
Move power supply python module to proc plugin (#4960)
* Add power supply module * Use linked list * Add charts for all properties * Organize charts menu * Fix line endings * Keep files open * Add options for chart disabling * Final cleanup * Add documentation, disable python module * Fix file attributes * Mark python module as obsolete * Allow symbolic links to power source directories
Diffstat (limited to 'health')
-rw-r--r--health/health.d/linux_power_supply.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/health/health.d/linux_power_supply.conf b/health/health.d/linux_power_supply.conf
index 27a172a14b..745d2c3dd4 100644
--- a/health/health.d/linux_power_supply.conf
+++ b/health/health.d/linux_power_supply.conf
@@ -1,7 +1,7 @@
# Alert on low battery capacity.
template: linux_power_supply_capacity
- on: power_supply.capacity
+ on: powersupply.capacity
calc: $capacity
units: %
every: 10s