PDA

Bekijk de volledige versie : Sending alerts through Jabber



Yarda
28-11-2005, 16:34
It is cool to be immediately notified when something strange happened (e.g. when some stranger is hacking into your Asus box). For this purpose instant messaging is suitable.

I have written very simple script in bash. With this script it's possible to send Jabber messages to any JID (maybe yours). Before starting you need some little editing. Insert your valid Jabber credentials into file 'jabber_msg' and then it is possible to send messages with:

jabber_msg RECPT_JID MSG

Bash could be installed through `ipkg`. This script is no more than quick hack, only plain passwords are supported so far, so please don't expect so much from it.

------------------
640kB will be enough for everybody, but not for my Asus box!