Sendxmpp is a Perl script used to send xmpp (jabber) messages. It works similarly to the mail(1) program, making it easy to send messages over xmpp.
Sendxmpp is utilized on computers worldwide, such as for distributing CVS-commit alerts, sending server warnings, and notifying users. For example, if you need to manage a remote server and keep an eye on its CPU load-average, you could write a script to monitor it and run it periodically from cron. The script might contain code like the following:
if test "$cpuload" -gt "$CPULOADMAX"; then
top -b -n 1 | sendxmpp -s "Wake up! CPU load is $cpuload at `hostname`" [email protected]
fi
With sendxmpp, your Jabber client will pop-up a message, depending on the client you use. There are various clients available for different platforms and Operating Systems.
To install sendxmpp, simply unpack the tarball and enter the new directory. Then run the following commands:
$ perl Makefile.PL
$ make
$ make install
This latest version includes documentation improvements and the ability to specify non-default port numbers for Jabber servers.
Version 0.0.8: N/A