From 667d97a4b827380cf50d477ef432eecb18e43b30 Mon Sep 17 00:00:00 2001 From: sqshq Date: Sat, 2 Mar 2019 22:51:08 -0500 Subject: [PATCH] alert config draft --- config.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config.yml b/config.yml index e9ec7ef..ff13cc6 100644 --- a/config.yml +++ b/config.yml @@ -7,6 +7,15 @@ runcharts: w: 53 h: 16 scale: 3 + alerts: + - name: PROCESSING STARTED // ${prev} ${cur} ${lavel} // echo $(( 3 < 4 && 1 > 2 )) + trigger: ((${prev} == 0 && ${cur} > 0)) + repeat: false + action: + terminal-bell: true + sound: false + visual: true + script: say ${lavel} initiated with value ${cur} items: - label: GOOGLE value: curl -o /dev/null -s -w '%{time_total}' https://www.google.com