Adicionado alertas whatsapp.

This commit is contained in:
William Grando 2025-06-09 13:03:01 -03:00
parent 06b0328701
commit 7aefaeb317

12
zabbix-alert.sh Normal file
View File

@ -0,0 +1,12 @@
#!/bin/bash
#Desenvolvido por: Bee Solutions
#Autor: Fernando Almondes
#Data: 29/05/2023
# Modificado por: William Grando (INSTANT Tecnologia)
URL="http://<gtw>:14212/api/send"
PHONE="$1"
TITULO="$2"
MESSAGE="$TITULO$3"
wget -q -O- --post-data "{\"number\": \"${PHONE}\", \"message\": \"${MESSAGE}\"}" "$URL" --header "content-type: application/json"