zabbix新增slack报警

亢仰岳
2023-12-01

slack script

find / -name 'alertscripts'
cd /usr/local/share/zabbix/alertscripts
wget https://raw.githubusercontent.com/ssplatt/zabbix-slack-alertscript/master/slack_zabbix.py
chmod 755 slack_zabbix.py

修改webhook的值
安装相关module

yum install python-pip
pip install httplib2 json sys

docs

 类似资料: