Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
if [[ $SERVICESTATE == "OK" ]]; then
emote=":relieved:"
icon=":dancing_penguin:"
color="#2ab27b"
elif [[ "$NOTIFICATIONTYPE" == "ACKNOWLEDGEMENT" ]]; then
color="#edb431"
emote=":relieved:"
icon=":dancing_penguin:"
#!/bin/bash
if [[ $HOSTSTATE == "UP" ]]; then
emote=":relieved:"
icon=":dancing_penguin:"
color="#2ab27b"
elif [[ "$NOTIFICATIONTYPE" == "ACKNOWLEDGEMENT" ]]; then
color="#edb431"
emote=":relieved:"
icon=":dancing_penguin:"

Keybase proof

I hereby claim:

  • I am sttwalker on github.
  • I am sttwalker (https://keybase.io/sttwalker) on keybase.
  • I have a public key ASCv08InVi8i8ypmZOIWHS7jmQ7IHTr2TlKK31mUjuEnBwo

To claim this, I am signing this object: