aboutsummaryrefslogtreecommitdiff
path: root/modules/private/monitoring/plugins/notify_by_slack
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2020-07-16 03:02:07 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2020-07-17 01:03:17 +0200
commit4c42e0beb65d2a92e988a81aa12f50aa6bd1f820 (patch)
tree56c7ff14e0c2774634f53365b2a2342e0dbd2419 /modules/private/monitoring/plugins/notify_by_slack
parent5a61f6ad5164a735be26e016c59e72252ffb49b7 (diff)
downloadNix-4c42e0beb65d2a92e988a81aa12f50aa6bd1f820.tar.gz
Nix-4c42e0beb65d2a92e988a81aa12f50aa6bd1f820.tar.zst
Nix-4c42e0beb65d2a92e988a81aa12f50aa6bd1f820.zip
Add assets website for immae
Diffstat (limited to 'modules/private/monitoring/plugins/notify_by_slack')
-rwxr-xr-xmodules/private/monitoring/plugins/notify_by_slack2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/private/monitoring/plugins/notify_by_slack b/modules/private/monitoring/plugins/notify_by_slack
index b59a403..1b16a0d 100755
--- a/modules/private/monitoring/plugins/notify_by_slack
+++ b/modules/private/monitoring/plugins/notify_by_slack
@@ -3,7 +3,7 @@
3SLACK_CHANNEL="$1" 3SLACK_CHANNEL="$1"
4SLACK_USERNAME="Naemon" 4SLACK_USERNAME="Naemon"
5SLACK_URL="$2" 5SLACK_URL="$2"
6SLACK_USERICON="https://release.immae.eu/monitoring.png" 6SLACK_USERICON="https://assets.immae.eu/monitoring.png"
7 7
8if [ "$SERVICESTATE" = "CRITICAL" ]; then 8if [ "$SERVICESTATE" = "CRITICAL" ]; then
9 ICON=":exclamation:" 9 ICON=":exclamation:"