This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Requirement wget | |
# Create new script in nano /usr/lib/zabbix/alertscripts/media-sms-ovh.sh | |
# chmod +x media-sms-ovh.sh | |
# OVH SMS API | |
# Login into your ovh account create SMS user | |
ACCOUNT=MyOvhSmsAccountName(sms-xxxxxxxxx-x) | |
LOGIN=MyOvhSmsUserApiLogin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Requirement curl | |
# Create new script in nano /usr/lib/zabbix/alertscripts/media-slack.sh | |
# chmod +x media-slack.sh | |
# Create Slack App https://api.slack.com/apps/new | |
# Choose your app | |
# Select and active Incomming Webhooks | |
# Choose your channel to send messages |