A script to send notifies via xmpp client. This script is perfect for zabbix or another monitoring software.
- sendxmpp (https://packages.debian.org/de/sid/sendxmpp)
apt-get install sendxmpp
- Upload sendxmpp.sh in /usr/lib/zabbix/alertscripts
- Set up the XMPP configuration data
nano sendxmpp.sh
chmod 600 sendxmpp.sh
-
Configuration the new media type. Navigate in Zabbix Adminstration -> Media Types, create a new media type with Type set to script, Script set to sendxmpp.sh and three parameters: {ALERT.SENDTO}, {ALERT.SUBJECT}, {ALERT.MESSAGE}.