You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey guys, is it possible to use Triggers in Textboxes?
I'm trying to make a "ping machine" to determine whether the webserver is online. If not - make an alarm.
textboxes:
- title: Google
sample: curl -o /dev/null -s -w '%{http_code}' https://google.com
triggers:
- title: Server down
condition: echo "$cur != 200" | bc -l
actions:
visual: true
script: 'say alert: ${label} server is Down'
Right now the config shows me an error: TRIGGER CONDITION FAILURE fork/exec /bin/sh: invalid argument
I can't figure out how can I overcome this. Please help :)
The text was updated successfully, but these errors were encountered:
Hey guys, is it possible to use Triggers in Textboxes?
I'm trying to make a "ping machine" to determine whether the webserver is online. If not - make an alarm.
Right now the config shows me an error: TRIGGER CONDITION FAILURE fork/exec /bin/sh: invalid argument
I can't figure out how can I overcome this. Please help :)
The text was updated successfully, but these errors were encountered: