diff --git a/zabbix-alert.sh b/zabbix-alert.sh new file mode 100644 index 0000000..a498bb8 --- /dev/null +++ b/zabbix-alert.sh @@ -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://: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" \ No newline at end of file