Hello,
it seems that openfire jabber server drops connection and zabbix_server doesn't reconnect. So after a while no jabber message is sent.
I looked around and I found a fix that modifies the zabbix behaviour. Simply it adds a call to disconnect method for any message sent.
It works but it doesn't seem to me the best solution.
Is it already scheduled a release that fixes this issue in a better way ?
it seems that openfire jabber server drops connection and zabbix_server doesn't reconnect. So after a while no jabber message is sent.
I looked around and I found a fix that modifies the zabbix behaviour. Simply it adds a call to disconnect method for any message sent.
It works but it doesn't seem to me the best solution.
Code:
diff -ruN zabbix-1.4.2.orig/src/libs/zbxjabber/jabber.c zabbix-1.4.2/src/libs/zbxjabber/jabber.c --- zabbix-1.4.2.orig/src/libs/zbxjabber/jabber.c 2007-08-21 16:18:01.571989816 +0600 +++ zabbix-1.4.2/src/libs/zbxjabber/jabber.c 2007-08-24 10:55:01.473736104 +0600 @@ -468,6 +468,9 @@ zabbix_log(LOG_LEVEL_WARNING, "%s", error); } + disconnect_jabber(); + zabbix_log( LOG_LEVEL_DEBUG, "JABBER: disconnecting"); + return ret; }
Comment