Ad Widget

Collapse

[1.4.0] jabber notification problems

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • limo
    Senior Member
    • Dec 2004
    • 192

    #1

    [1.4.0] jabber notification problems

    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
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Thanks for reporting this. We keep you informed about any progress.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • tronite
      Senior Member
      • Jun 2007
      • 147

      #3
      Thanks for informing us indeed.

      Comment

      • StanZoid
        Member
        • Oct 2005
        • 47

        #4
        I'm interested in this, too--our system works fine for a few minutes, then disconnects.

        Stanzoid

        Comment

        • Alexei
          Founder, CEO
          Zabbix Certified Trainer
          Zabbix Certified SpecialistZabbix Certified Professional
          • Sep 2004
          • 5654

          #5
          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?
          Alexei Vladishev
          Creator of Zabbix, Product manager
          New York | Tokyo | Riga
          My Twitter

          Comment

          • skaze
            Junior Member
            • Jun 2007
            • 19

            #6
            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 [email protected]

            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

            Comment

            • Alexei
              Founder, CEO
              Zabbix Certified Trainer
              Zabbix Certified SpecialistZabbix Certified Professional
              • Sep 2004
              • 5654

              #7
              Finally we understood what happens. The problem was fixed and is already in the latest SVN code.
              Alexei Vladishev
              Creator of Zabbix, Product manager
              New York | Tokyo | Riga
              My Twitter

              Comment

              • skaze
                Junior Member
                • Jun 2007
                • 19

                #8
                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.

                Comment

                • Alexei
                  Founder, CEO
                  Zabbix Certified Trainer
                  Zabbix Certified SpecialistZabbix Certified Professional
                  • Sep 2004
                  • 5654

                  #9
                  Pre-1.4.1 code is available from svn://svn.zabbix.com/branches/1.4.1. Please report about your experience!
                  Alexei Vladishev
                  Creator of Zabbix, Product manager
                  New York | Tokyo | Riga
                  My Twitter

                  Comment

                  • StanZoid
                    Member
                    • Oct 2005
                    • 47

                    #10
                    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!

                    StanZoid

                    Comment

                    • BusteR81
                      Senior Member
                      • Apr 2007
                      • 150

                      #11
                      pls help

                      hi

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

                      [email protected] (created account for zabbix_server)
                      [email protected] (i use this on my laptop)
                      xxx.xxx.xx.xxx = IP of openfire server

                      under Media type, i entered "[email protected]" is this correct?

                      zabbix 1.4.1

                      can u pls give mi some tips.

                      Comment

                      • tronite
                        Senior Member
                        • Jun 2007
                        • 147

                        #12
                        Originally posted by BusteR81
                        hi

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

                        [email protected] (created account for zabbix_server)
                        [email protected] (i use this on my laptop)
                        xxx.xxx.xx.xxx = IP of openfire server

                        under Media type, i entered "[email protected]" is this correct?

                        zabbix 1.4.1

                        can u pls give mi some tips.

                        Did you compile enabling the jabber stuff in the beginning?

                        Comment

                        • ravenstar
                          Junior Member
                          • Sep 2007
                          • 1

                          #13
                          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

                          Comment

                          • BusteR81
                            Senior Member
                            • Apr 2007
                            • 150

                            #14
                            openfire jabber nt compatible with in-built zabbix

                            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)

                            Comment

                            Working...