summaryrefslogtreecommitdiffstats
path: root/src/health/health.d/linux_power_supply.conf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:19:16 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 12:07:37 +0000
commitb485aab7e71c1625cfc27e0f92c9509f42378458 (patch)
treeae9abe108601079d1679194de237c9a435ae5b55 /src/health/health.d/linux_power_supply.conf
parentAdding upstream version 1.44.3. (diff)
downloadnetdata-b485aab7e71c1625cfc27e0f92c9509f42378458.tar.xz
netdata-b485aab7e71c1625cfc27e0f92c9509f42378458.zip
Adding upstream version 1.45.3+dfsg.upstream/1.45.3+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/health/health.d/linux_power_supply.conf')
-rw-r--r--src/health/health.d/linux_power_supply.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/health/health.d/linux_power_supply.conf b/src/health/health.d/linux_power_supply.conf
new file mode 100644
index 000000000..b0d35e752
--- /dev/null
+++ b/src/health/health.d/linux_power_supply.conf
@@ -0,0 +1,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