PDA

View Full Version : [1.4.0] jabber notification problems


limo
11-06-2007, 08:49
Hi to all,

we have zabbix 1.4.0 with internal jabber notifications and we use it, it works fine. But time by time, communication with jabber server is lost and no further messages are sent by jabber. It would be good to internal check if jabber is connected and working. Would be good to know this and send message by another media type. Or, maybe better, reconnect jabber periodicaly.

Thanx!

Alexei
11-06-2007, 09:13
Thanks for reporting this. We keep you informed about any progress.

tronite
11-06-2007, 09:52
Thanks for informing us indeed.

StanZoid
20-06-2007, 20:04
I'm interested in this, too--our system works fine for a few minutes, then disconnects.

Stanzoid

Alexei
21-06-2007, 08:53
We cannot reproduce this problem. Even in case if ZABBIX is physically disconnected from a Jabber server, it collects all messages and, as soon as connectivity is restored, it immediately sends them.

Can you provide step-by-step instructions how to reproduce this?

skaze
22-06-2007, 15:30
Same here, at first Zabbix talks fine to your Jabber server (running on the same box as the zabbix server) but then after a while stops working.

Neither the zabbix server or the Jabber server (Openfire) have been restarted during this time.

A look in Actions screen shows these errors for the Jabber notifications:


2007.Jun.22 11:01:14 Jabber not sent user@wildfire.example.com

Subject: Too many active Tomcat sessions on mt01.example.com: OFF

Too many active Tomcat sessions on mt01.example.com: OFF

Cannot create or send message [Broken pipe] TEST

So its a IPC issue, are you caching your connection to jabber? Expect my Jabber server has dropped your connection due to idle.

Hope this helps

Alexei
22-06-2007, 16:44
Finally we understood what happens. The problem was fixed and is already in the latest SVN code.

skaze
22-06-2007, 17:32
Excellent Alexei! I will pull the trunk out (assuming that is where the patch has been applied, do you have a 1.4.x branch i should use instead?) and test.

Alexei
22-06-2007, 17:47
Pre-1.4.1 code is available from svn://svn.zabbix.com/branches/1.4.1. Please report about your experience!

StanZoid
22-06-2007, 18:00
Is there a 1.4 patch, or do we wait for 1.4.1? I have pushed 1.4 into production, and would like to show Jabber messaging off to management. Cool rules! :D

StanZoid

BusteR81
03-08-2007, 09:31
hi

i use openfire server (works fine) and i got jabber client installed. however i cannot get Zabbix to send alerts via jabber.

zabbix@xxx.xxx.xxx.xxx (created account for zabbix_server)
me@xxx.xxx.xxx.xxx.xxx (i use this on my laptop)
xxx.xxx.xx.xxx = IP of openfire server

under Media type, i entered "zabbix@xxx.xxx.xxx.xx" is this correct?

zabbix 1.4.1

can u pls give mi some tips.

tronite
08-08-2007, 12:55
hi

i use openfire server (works fine) and i got jabber client installed. however i cannot get Zabbix to send alerts via jabber.

zabbix@xxx.xxx.xxx.xxx (created account for zabbix_server)
me@xxx.xxx.xxx.xxx.xxx (i use this on my laptop)
xxx.xxx.xx.xxx = IP of openfire server

under Media type, i entered "zabbix@xxx.xxx.xxx.xx" is this correct?

zabbix 1.4.1

can u pls give mi some tips.


Did you compile enabling the jabber stuff in the beginning?

ravenstar
20-09-2007, 12:06
Here is another strange problem I have encountered while setting up zabbix to send jabber notifs.

Environment.
1. Zabbix 1.4.2 compiled to support jabber with iksemel
2. RHEL 4
3. Openfire jabber private server.

To my understand zabbix needs to be told the username and password for a jabber account, let it be abc@my_private_server. This is configured in media types as the jabber identifier. This is the "from" address for all jabber alerts sent from zabbix.
The second information zabbix requires is the destination user's jabber account. Let this be xyz@my_private_server. This is configured in the users media settings.

Now after the triggers etc have been setup, I found that the jabber packets I captured have a "from" IP address of my_private_server whereas the "to" IP address is that of the jabber.org server! I cant fathom where it gets this IP from because I havent specified it anywhere. Does zabbix hard code this jabber server IP? Is it specified in a config file? (I cant find it in zabbix_server.conf). According to me zabbix should take the "my_private_server" from xyz@my_private_server and do some lookup on that.

Have I goofed up some configuration related stuff? Is openfire misbehaving or what?

Any help will be appreciated a lot .. Thanks a ton.

Regards,
Ravenstar

BusteR81
20-09-2007, 14:12
i researched for a week when i tried to setup my own private openfire server. zabbix_server is able to send ONCE (one) jabber message and it will disconnect from my private openfire.

Reason is the #AuthorizeSend protocol stuffs. in short, different jabber servers (many out there) use different protocols to communicate with client and it happened that zabbix_server dun goes 'perfectly' well with Openfire server.

Solution: i registered accoutns for my collegues and myself @jabber.org and that is it. Jabber works and had been working for a month. only drawback is when jabber.org goes down for maintenance, we need to restart zabbix_server to reconnect.

PS tink jabber.org is using Exdous jabber server (certainly NOT openfire)