[ZBX-1029] Jabber client in Zabbix does not check SRV records to find the jabber server Created: 2009 Sep 08 Updated: 2017 May 30 Resolved: 2011 Jun 02 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 1.4, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.6 |
Fix Version/s: | 1.8.6 |
Type: | Incident report | Priority: | Major |
Reporter: | Serge van Ginderachter | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 8 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Zabbix 1.6.5 running on Debian Lenny (the Squeeze/testing package was recompiled on Lenny early september) |
Attachments: | zabbix-1.8.4-SRVjabber.patch | ||||||||
Issue Links: |
|
Description |
I defined a media type Jabber/XMPP with a user and password. Running tcpdump show me the zabbix server tries to contact the host which has an A record for the domainpart of the user, instead of checking SRV records. Seems like a major bug to me which strangely enough has been around for probaly allways? There are other reports in foraof this, back in 2007 at least. Please note, |
Comments |
Comment by Edward Rudd [ 2009 Oct 09 ] |
Here is a patch that I've been using for quite a while to do SRV lookups (since Zabbix 1.4) This version of the patch is based on Zabbix 1.6.6. |
Comment by Aleksandrs Saveljevs [ 2010 Jun 07 ] |
Iksemel itself has similar bug reports: http://code.google.com/p/iksemel/issues/detail?id=6 |
Comment by Edward Rudd [ 2010 Jun 11 ] |
Here is an updated patch against 1.8. It's still same basic patch I've been using since Zabbix 1.4 and still working great! It applies cleanly to 1.8.2 as well. |
Comment by Edward Rudd [ 2011 Jan 05 ] |
Updated patch against Zabbix 1.8.4 |
Comment by Eric Renfro [ 2011 Apr 15 ] |
This patch works like a charm. For once the Zabbix-native Jabber client actually works because it uses the SRV records as jabber was designed to utilize. Thank you Edward. Hopefully this goes mainstream into Zabbix before next millennium. I see you've been keeping it up-to-date for years now and myself personally thank you for your efforts. |
Comment by Edward Rudd [ 2011 Apr 15 ] |
You are very welcome Eric. I sure hope they do incorporate this patch sometime, it is a very well tested patch and is rather minimal too. |
Comment by Alex Vorona [ 2011 May 09 ] |
Just let You know. Patch worked fine on 1.8.2, 1.8.3, and now works on 1.8.5 as expected. |
Comment by Aleksandrs Saveljevs [ 2011 May 28 ] |
Available in development branch svn://svn.zabbix.com/branches/dev/ZBX-1029. It also implements |
Comment by Aleksandrs Saveljevs [ 2011 Jun 02 ] |
Available in pre-1.8.6 in r19998. |