* [gentoo-user] Sending IMs from a script
@ 2008-01-16 10:04 Neil Bothwick
2008-01-16 10:19 ` Ricardo Saffi Marques
` (4 more replies)
0 siblings, 5 replies; 11+ messages in thread
From: Neil Bothwick @ 2008-01-16 10:04 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 256 bytes --]
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.
--
Neil Bothwick
Invertebrates make no bones about it.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Sending IMs from a script
2008-01-16 10:04 [gentoo-user] Sending IMs from a script Neil Bothwick
@ 2008-01-16 10:19 ` Ricardo Saffi Marques
2008-01-16 17:27 ` David Lindquist
2008-01-16 10:22 ` Michal 'vorner' Vaner
` (3 subsequent siblings)
4 siblings, 1 reply; 11+ messages in thread
From: Ricardo Saffi Marques @ 2008-01-16 10:19 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 972 bytes --]
This is what I know from past resources of ICQ, at least: even if someone is
not on your contact list, you can send and e-mail to something like <UIN>@
SOMETHING.icq.com and the message will arrive to that user.
For other protocols, I don't even know how to help you.
Hmm, when you install pidgin, it also installs a text-based IM software, for
you to use from a console. Maybe you should take a look at that.
Regards,
Saffi
On 1/16/08, Neil Bothwick <neil@digimed.co.uk> 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.
>
>
> --
> Neil Bothwick
>
> Invertebrates make no bones about it.
>
>
--
Ricardo Saffi Marques
Laboratório de Administração e Segurança de Sistemas (LAS/IC)
Universidade Estadual de Campinas (UNICAMP)
Cell: +55 (19) 8128-0435
Skype: ricardo_saffi_marques
Website: http://www.rsaffi.com
[-- Attachment #2: Type: text/html, Size: 1406 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Sending IMs from a script
2008-01-16 10:04 [gentoo-user] Sending IMs from a script Neil Bothwick
2008-01-16 10:19 ` Ricardo Saffi Marques
@ 2008-01-16 10:22 ` Michal 'vorner' Vaner
2008-01-16 10:35 ` Dirk Heinrichs
` (2 subsequent siblings)
4 siblings, 0 replies; 11+ messages in thread
From: Michal 'vorner' Vaner @ 2008-01-16 10:22 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1107 bytes --]
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 bot@address --password=password <<END
<message to='recipient@server' 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
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Sending IMs from a script
2008-01-16 10:04 [gentoo-user] Sending IMs from a script Neil Bothwick
2008-01-16 10:19 ` Ricardo Saffi Marques
2008-01-16 10:22 ` Michal 'vorner' Vaner
@ 2008-01-16 10:35 ` Dirk Heinrichs
2008-01-16 10:56 ` Neil Bothwick
2008-01-16 17:02 ` Robert Cernansky
2008-01-17 3:51 ` Anthony E. Caudel
4 siblings, 1 reply; 11+ messages in thread
From: Dirk Heinrichs @ 2008-01-16 10:35 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 732 bytes --]
Am Mittwoch, 16. Januar 2008 schrieb ext Neil Bothwick:
> 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.
use perl or die();
You could try searching http://search.cpan.org for your IM protocol and find
a module that fits.
Bye...
Dirk
--
Dirk Heinrichs | Tel: +49 (0)162 234 3408
Configuration Manager | Fax: +49 (0)211 47068 111
Capgemini Deutschland | Mail: dirk.heinrichs@capgemini.com
Wanheimerstraße 68 | Web: http://www.capgemini.com
D-40468 Düsseldorf | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Sending IMs from a script
2008-01-16 10:35 ` Dirk Heinrichs
@ 2008-01-16 10:56 ` Neil Bothwick
0 siblings, 0 replies; 11+ messages in thread
From: Neil Bothwick @ 2008-01-16 10:56 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 225 bytes --]
On Wed, 16 Jan 2008 11:35:26 +0100, Dirk Heinrichs wrote:
> use perl or die();
I think I'd prefer the latter option :(
--
Neil Bothwick
Your lack of organisation does not represent an
emergency in my world.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Sending IMs from a script
2008-01-16 10:04 [gentoo-user] Sending IMs from a script Neil Bothwick
` (2 preceding siblings ...)
2008-01-16 10:35 ` Dirk Heinrichs
@ 2008-01-16 17:02 ` Robert Cernansky
2008-01-16 23:51 ` Neil Bothwick
2008-01-17 3:51 ` Anthony E. Caudel
4 siblings, 1 reply; 11+ messages in thread
From: Robert Cernansky @ 2008-01-16 17:02 UTC (permalink / raw
To: gentoo-user
On Wed, 16 Jan 2008 10:04:31 +0000 Neil Bothwick <neil@digimed.co.uk> 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.
For jabber solution, emerge dev-python/xmpppy and then use this
script: http://xmpppy.sourceforge.net/examples/xsend.py to send
messages.
Robert
--
Robert Cernansky
E-mail: hslists2@zoznam.sk
Jabber: HS@jabber.sk
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Sending IMs from a script
2008-01-16 10:19 ` Ricardo Saffi Marques
@ 2008-01-16 17:27 ` David Lindquist
0 siblings, 0 replies; 11+ messages in thread
From: David Lindquist @ 2008-01-16 17:27 UTC (permalink / raw
To: gentoo-user
On Jan 16, 2008 2:19 AM, Ricardo Saffi Marques <saffi@las.ic.unicamp.br> wrote:
> Hmm, when you install pidgin, it also installs a text-based IM software, for
> you to use from a console. Maybe you should take a look at that.
Pidgin's dbus interface can be used to send IM messages. The
purple-remote python script that installs with Pidgin can send IMs
from the command line via the goim command.
--
David
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Sending IMs from a script
2008-01-16 17:02 ` Robert Cernansky
@ 2008-01-16 23:51 ` Neil Bothwick
2008-01-17 1:11 ` forgottenwizard
0 siblings, 1 reply; 11+ messages in thread
From: Neil Bothwick @ 2008-01-16 23:51 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 443 bytes --]
On Wed, 16 Jan 2008 18:02:12 +0100, Robert Cernansky wrote:
> For jabber solution, emerge dev-python/xmpppy and then use this
> script: http://xmpppy.sourceforge.net/examples/xsend.py to send
> messages.
That's perfect, thanks very much.
Thanks for the other responses too, but I'd rather not install a full IM
client on this box.
--
Neil Bothwick
"Bother," said Pooh, as the EEC outlawed his favourite sized honey pot.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Sending IMs from a script
2008-01-16 23:51 ` Neil Bothwick
@ 2008-01-17 1:11 ` forgottenwizard
0 siblings, 0 replies; 11+ messages in thread
From: forgottenwizard @ 2008-01-17 1:11 UTC (permalink / raw
To: gentoo-user
On 23:51 Wed 16 Jan , Neil Bothwick wrote:
> On Wed, 16 Jan 2008 18:02:12 +0100, Robert Cernansky wrote:
>
> > For jabber solution, emerge dev-python/xmpppy and then use this
> > script: http://xmpppy.sourceforge.net/examples/xsend.py to send
> > messages.
>
> That's perfect, thanks very much.
>
> Thanks for the other responses too, but I'd rather not install a full IM
> client on this box.
>
>
> --
> Neil Bothwick
>
> "Bother," said Pooh, as the EEC outlawed his favourite sized honey pot.
Just for refrence, you could use an IRC client connected to bitlbee to
do the same thing, and all you would have to do would learn how to
handle scripting responses into the irc client.
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Sending IMs from a script
2008-01-16 10:04 [gentoo-user] Sending IMs from a script Neil Bothwick
` (3 preceding siblings ...)
2008-01-16 17:02 ` Robert Cernansky
@ 2008-01-17 3:51 ` Anthony E. Caudel
2008-01-17 10:02 ` Neil Bothwick
4 siblings, 1 reply; 11+ messages in thread
From: Anthony E. Caudel @ 2008-01-17 3:51 UTC (permalink / raw
To: gentoo-user
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.
>
>
>
An alternate way to send alerts is to send an email to their mobile phone.
Tony
--
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety.
-- Benjamin Franklin
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Sending IMs from a script
2008-01-17 3:51 ` Anthony E. Caudel
@ 2008-01-17 10:02 ` Neil Bothwick
0 siblings, 0 replies; 11+ messages in thread
From: Neil Bothwick @ 2008-01-17 10:02 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 493 bytes --]
On Wed, 16 Jan 2008 21:51:29 -0600, Anthony E. Caudel 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.
> An alternate way to send alerts is to send an email to their mobile
> phone.
That's already in use, I was looking for an alternate to your
alternate :)
--
Neil Bothwick
Room service? Send up a larger room.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2008-01-17 10:03 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-16 10:04 [gentoo-user] Sending IMs from a script Neil Bothwick
2008-01-16 10:19 ` Ricardo Saffi Marques
2008-01-16 17:27 ` David Lindquist
2008-01-16 10:22 ` Michal 'vorner' Vaner
2008-01-16 10:35 ` Dirk Heinrichs
2008-01-16 10:56 ` Neil Bothwick
2008-01-16 17:02 ` Robert Cernansky
2008-01-16 23:51 ` Neil Bothwick
2008-01-17 1:11 ` forgottenwizard
2008-01-17 3:51 ` Anthony E. Caudel
2008-01-17 10:02 ` Neil Bothwick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox