From a8220ab2d293bb7f4b014b79d16b2fb05090fa93 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Feb 2021 12:45:55 +0100 Subject: Adding upstream version 1.29.0. Signed-off-by: Daniel Baumann --- tests/template_dimension/system_cpu.conf.alarm_foreach_sp | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/template_dimension/system_cpu.conf.alarm_foreach_sp (limited to 'tests/template_dimension/system_cpu.conf.alarm_foreach_sp') diff --git a/tests/template_dimension/system_cpu.conf.alarm_foreach_sp b/tests/template_dimension/system_cpu.conf.alarm_foreach_sp new file mode 100644 index 000000000..fdd19e813 --- /dev/null +++ b/tests/template_dimension/system_cpu.conf.alarm_foreach_sp @@ -0,0 +1,8 @@ + alarm: dev_dim_template + on: system.cpu + os: linux +lookup: sum -3s at 0 every 3 percentage foreach * + units: % + every: 1s + warn: $this > 1 + crit: $this > 4 -- cgit v1.2.3