Ad Widget

Collapse

Jabber Connection Timeout Issue in 1.6.4

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • manfro
    Junior Member
    • Jun 2006
    • 25

    #1

    Jabber Connection Timeout Issue in 1.6.4

    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.

    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;
    }
    Is it already scheduled a release that fixes this issue in a better way ?
    Last edited by manfro; 11-06-2009, 16:30.
  • manfro
    Junior Member
    • Jun 2006
    • 25

    #2
    1.6.5 solves this issue?

    Hello, I found in 1.6.5 release note this changelog entry:

    [ZBX-884] fixed sudden stop of Jabber notifications

    does it mean that this bug is definitely closed?

    Thank you guys.

    Manfredi

    Comment

    Working...