krono pomoz' blog, by Ivan Savcic

26Mar/053

sendxmpp

Nice application for sending all kinds of text (ie. cron outputs and warnings on machines you administer) directly to your JID or even chatroom!

Example:
[code]cat SOMETHING | sendxmpp -u SRC-USERNAME -p SRC-PASSWORD -j SRC-SERVER -t -s "SUBJECT" DST-USERNAME@DST-SERVER[/code]

Comments (3) Trackbacks (0)
  1. I am using simmilar custom tool (actually it is PHP CLI script) as a cross-platform replacement for smb message to send some message across local network.

    I use it also in auto-messages like report about received mail (if there is new mail, and there is no IMAP connection to that maildir), about backup status and others.

    What I am planing to do is to create a nice daemon (and Win32 Service) that will accept these messages and resend nice notice on user’s desktop. Then I will be able to send messages to any host on the network even if Jabber client is not active…

  2. If I understood correctly, one machine sends smb messages and the other, running this daemon above, translates these messages to nice local-display popup messages (if using X or something)? What happens if this other machine isn’t turned on?

  3. No, one machine sends XMPP message (like with this tool) over local Jabber server so it can handle offline messages.

    And I am planing to write daemon that will show message as a popup window, or as a console message if X is not running. It does not exist now. Currently I am having GAIM loading at startup on all computers and it is working just fine but not that nice as daemon solution will be.


Leave a comment

 

Trackbacks are disabled.