For this need installed sendxmpp
Put xmpp.sh in zabbix scripts directory. Create config file sendxmpprc:
chown and chmod this file to zabbix user/
create xmpp.sh:
where path - path to sendxmpprc.
chmod xmpp.sh:
Then add script in media, and add to need user notification.
Put xmpp.sh in zabbix scripts directory. Create config file sendxmpprc:
Code:
#account password [email protected] jabber
Code:
chown zabbix sendxmpprc chmod 0600 sendxmpprc
Code:
#!/bin/sh echo "$3" | sendxmpp -f /path/sendxmpprc -s "$2" "$1"
chmod xmpp.sh:
Code:
I'm use emerge sendxmpp
EriSan
Comment