Apperently we were not using the slack_url from hiera eyaml, old hook was invalidated

This commit is contained in:
Micke Nordin 2023-02-13 10:53:29 +01:00
parent 9b726dd824
commit a1c56de932
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -15,7 +15,7 @@
#Modify these variables for your environment #Modify these variables for your environment
MY_NAEMON_HOSTNAME="monitor.drive.sunet.se" MY_NAEMON_HOSTNAME="monitor.drive.sunet.se"
SLACK_URL="https://hooks.slack.com/services/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" SLACK_URL="<%= @slack_url %>"
#Set the message icon based on Nagios service state #Set the message icon based on Nagios service state
if [ "$SERVICESTATE" = "CRITICAL" ]; then if [ "$SERVICESTATE" = "CRITICAL" ]; then