[jdev] Send alerts via Jabber

Alexey Nezhdanov snake at penza-gsm.ru
Sat Nov 27 06:00:06 CST 2004


В сообщении от Пятница 26 Ноябрь 2004 13:52 Jacob Friis написал(a):
> Is it possible to send alerts via Jabber to any of the supported IM?
>
> I have a Debian Linux server with a monitoring system that can send
> mails if a host is down etc. I'd like to also send these as IM.
>
> The monitoring system is Nagios, and I have found a script that can send
> to a Jabber account. (http://www.nagios.org/faqs/viewfaq.php?faq_id=50)
>
> Is it possible to send to ICQ, MSN, Yahoo, AOL etc?
Yes it is possible but the maximum reliability achieved only when you are 
sending to jabber-native account.
The reason is simple: your script is probably an offline one. So when  you 
sending a message through it it is most likely that ICQ/MSN/... transport 
will no go online by the time of message submit so your message will bounce 
back.
If you add some logic to script to workaround this the problems are still 
possible because transport can reject to go online for some external reason.
Remember - you are always depend on foreign network or ever another jabber 
server (if you are sending message to non-local account). It is typical 
network environment so you have to keep this in mind.

Though I have not seen this script so it probably can be quite reliable.

-- 
Respectfully
Alexey Nezhdanov




More information about the JDev mailing list