ZNC module to notify of pings over XMPP.
LICENSE | ||
README.md | ||
xmppnotify.py |
znc-xmpp-notify
ZNC module to notify of pings over XMPP.
Dependencies
- ZNC modpython
- sendxmpp
Setup
Set up sendxmpp (administrator)
- Create an XMPP account for your ZNC instance's notification bot.
- Put the JID and password in ~/.sendxmpprc in the format
<user@host> <password>
- Make sure modpython is available
Set up module (user)
- This may not be necessary, but load modpython:
/msg *status loadmod modpython
- Load xmppnotify.py, with your preferred JID as the argument:
/msg *status loadmod xmppnotify <user@host>
- Enjoy.