From c7191c291b318c93b4db058b7ff820cb7dc44cc7 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 28 Feb 2019 22:16:49 +0100 Subject: Merging upstream version 1.12.2. Signed-off-by: Daniel Baumann --- tests/health_mgmtapi/python-example.conf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tests/health_mgmtapi/python-example.conf (limited to 'tests/health_mgmtapi/python-example.conf') diff --git a/tests/health_mgmtapi/python-example.conf b/tests/health_mgmtapi/python-example.conf new file mode 100644 index 000000000..66713208c --- /dev/null +++ b/tests/health_mgmtapi/python-example.conf @@ -0,0 +1,16 @@ +alarm: example_alarm1 + on: example.random + every: 2s + warn: $random1 > (($status >= $WARNING) ? (55) : (75)) + crit: $random1 > (($status == $CRITICAL) ? (75) : (95)) + info: random + to: sysadmin + +alarm: example_alarm2 + on: example.random + every: 2s + warn: $random2 > (($status >= $WARNING) ? (55) : (75)) + crit: $random2 > (($status == $CRITICAL) ? (75) : (95)) + info: random + to: sysadmin + -- cgit v1.2.3