Zabbix push notification iPhone

Por: Dr. Delso Bonfante | April 30, 2013

Olá, meu nome é Diego Luisi e no artigo de hoje vou demonstrar como mandar push notifications no iPhone usando Prowl App.

iPhone Zabbix Push Notification

iPhone Zabbix Push Notification

Primeiramente vamos configurar o Prowl
Baixe e instale o App no seu iPhone

Crie um login e uma senha e gere uma "Api Key" para isso acesse o site
http://prowl.weks.net/

Agora vamos configurar o Zabbix.

Vamos editar o arquivo zabbix_server.conf e verificar onde esta configurado o AlertScriptsPath

grep AlertScriptsPath /etc/zabbix/zabbix_server.conf

AlertScriptsPath=/etc/zabbix/scripts

/etc/zabbix/scripts

wget http://prowl.weks.net/static/prowl.pl

vi iphone.sh

! /bin/sh

/etc/zabbix/scripts/prowl.pl -apikey="COLOQUE SUA API AQUI" -application=Zabbix
-event="Nome da Sua Empresa" -notification="$2" -priority=0

:wq!
chmod +x /etc/zabbix/scripts/iphone.sh
chown -R zabbix:zabbix /etc/zabbix/scripts

./prowl "Zabbix" "Test message"

Notification successfully posted.

Seu script esta pronto.

Para adicionar esse script no Zabbix acesse:

http://www.diegoluisi.eti.br/2013/04/30/configurando-alerts-no-zabbix/


LOREM

dluisi

🚀 Enthusiastic about the DevOps culture and focused on Open Source technologies, I am passionate about automation, with 20 years of experience as a SysAdmin, currently working as an SRE, always open to learning new technologies and procedures to improve every day more as a professional. 👀 I’m interested in Open Source projects (Linux, CNCF, GitOps and Tools) 📚 I’m currently increasing my skills on AWS, K8S, Python, Backstage and some automations tools like Argo (CD, Autopilot, Events, Rollouts and Workflows). 🌱 Goals: Increase my programming skills. 💞 I love old and good Rock and Roll, on weekends traveling on a Harley Davidson.