Hello On Wed, Jan 16, 2008 at 10:04:31AM +0000, Neil Bothwick wrote: > I would have thought this was easy, but I've looked around and can't find > a program that will send IMs from a script. I need to be able to send > alerts to people from a monitoring program.
I have a solution for you (thought I do not know how this is related to gentoo). Look at http://vorner.pretel.cz/en/projects.html#jelnet -- it's a jabber telnet, you can let it connect to server and pipe some raw protocol into it. So you need something like: jeltet [EMAIL PROTECTED] --password=password <<END <message to='[EMAIL PROTECTED]' type='headline'> <subject>Notification</subject> <body>This is your notification</body> </message> END It has a disadvantage -- it logs in, sends a message and logs out every time you send a notification. If you want to send from time to time, it is no problem, but with a notification every minute or so, it can be an issue. (Then you might need some fifo, cat, & and tricks like that) I hope this helps. -- I left the ssh key under the doormat Michal 'vorner' Vaner
pgp1YoUuzuxyj.pgp
Description: PGP signature

