alert config draft

This commit is contained in:
sqshq 2019-03-02 22:51:08 -05:00
parent 72e0f0d5e3
commit 667d97a4b8
1 changed files with 9 additions and 0 deletions

View File

@ -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