[root@zabbix ~]# docker exec -it zabbix-docker-zabbix-server-1 /bin/bash
bash-4.4$ cd /usr/lib/zabbix/alertscripts/
bash-4.4$ ls
zabbix-dingding.sh zabbix-qiyeweixin.py zabbix-qiyeweixin.sh
bash-4.4$ cat zabbix-dingding.sh
#!/bin/bash
to=$1
subject=$2
text=$3
curl ' ' \
-H 'Content-Type: application/json' \
-d '
{
"msgtype": "text",
"text": {
"content": "'"$text"'"
},
}'