Ad Widget

Collapse

Jabber not connecting

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • urkle
    Junior Member
    • Jun 2007
    • 14

    #1

    Jabber not connecting

    I have Zabbix 1.4 compiled and running on a RHEL4 system. I configured the "jabber" transport to connect to our local jabber server running jabberd 1.4.4. I tested the zabbix@ account in a separate IM client and verified it connects fine.. However zabbix refuses to send messages via jabber.

    It attempts to connect, but doesn't actually login, and it clogs all e-mail messages going out in the process. netstat shows one connectiong that stays established until I restart th server.

    wireshark shows a connection being made to the jabber server and the following negotiation going on.

    zabbix->server
    <?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' to='netfor.com' version='1.0'>

    server->zabbix
    <?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' id='466ED665' xmlns='jabber:client' from='ourdomain.com'>


    And that is it.. no further communication is performed.

    Any ideas???
  • urkle
    Junior Member
    • Jun 2007
    • 14

    #2
    doesn't user service records

    Also is seems that the zabbix jabber support doesn't check service records to locate the zabbix server.

    (bind DNS record)
    _xmpp-client._tcp.jabberdomainn IN SRV 5 0 5222 myjabber.domain.com.

    Comment

    • StanZoid
      Member
      • Oct 2005
      • 47

      #3
      I have the same issues with my implementation. I have been working under the assumption that the age of our Jabber server (embarassingly old) is the reason it won't connect, and I am pursuing an upgrade. However, if you are on a recent Jabber server, then I need to see this answer, too!

      Stanzoid

      Comment

      • hannibal20
        Junior Member
        • Jan 2007
        • 22

        #4
        the same problem here. After some time zabbix_sever closes connection to the jabber server and the alert gets tagged "JABBER: io error"

        I have tried 2 public jabber servers.

        Comment

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

          #5
          Originally posted by hannibal20
          the same problem here. After some time zabbix_sever closes connection to the jabber server and the alert gets tagged "JABBER: io error"

          I have tried 2 public jabber servers.
          I believe it reconnects to the server automatically later. At least it is supposed to work this way in 1.4.1.
          Alexei Vladishev
          Creator of Zabbix, Product manager
          New York | Tokyo | Riga
          My Twitter

          Comment

          • hannibal20
            Junior Member
            • Jan 2007
            • 22

            #6
            OK, I had out of date testbed.

            On 1.4.1 I have still trouble with sending jabber notifications. The alert is generated, email notification is sent as should be, but jabber notifications after some time get tagged as "receiving io error".

            I've tried on Linux and Solaris, with zabbix v1.4.1, libiksemel v1.2

            Comment

            • StanZoid
              Member
              • Oct 2005
              • 47

              #7
              In 1.4, I got a lot of not sent jabber messages, which tended to clog up the alerts process. Now, in 1.4.1, all messages show as sent, and the system does not clog up, but I still get no jabber messages after a few minutes. No error messages show in Monitoring/Alerts, and I see no error messages in the logs.

              StanZoid

              Comment

              • dmz
                Junior Member
                • Jun 2005
                • 26

                #8
                I am seeing similar things in 1.4.1. It connects to the jabber server and does the stream xmlns, but doesn't ever sign on. I am upgrading my jabber server but don't think that is it as it works with other command line shell apps & scripts and it works fine from them.

                To any developers reading...how can we debug jabber issues? And how can we clear out the action queue so any stuck messages can start going?

                Comment

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

                  #9
                  It seems that we still have some issues with Jabber notifications. It will be investigated.
                  Alexei Vladishev
                  Creator of Zabbix, Product manager
                  New York | Tokyo | Riga
                  My Twitter

                  Comment

                  • morgan
                    Junior Member
                    • Jul 2007
                    • 24

                    #10
                    As of right now (until the native jabber support is a bit happier) I'd recommend using a Jabber transport script that takes the args and does the jabber auth and notify (similar to how some other monitoring systems do it with external scripts). Being that the jabber server I am on is using old-style SSL, I cannot use the native support. The script(s) method works very well with Zabbix.

                    Comment

                    • dmz
                      Junior Member
                      • Jun 2005
                      • 26

                      #11
                      Originally posted by morgan
                      As of right now (until the native jabber support is a bit happier) I'd recommend using a Jabber transport script that takes the args and does the jabber auth and notify (similar to how some other monitoring systems do it with external scripts). Being that the jabber server I am on is using old-style SSL, I cannot use the native support. The script(s) method works very well with Zabbix.


                      Found this link that i'm trying right now.
                      Last edited by dmz; 20-07-2007, 22:16.

                      Comment

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

                        #12
                        We are unable to reproduce this problem under 1.4.1. Please provide me with the following information:

                        1. Any errors in ZABBIX server log file
                        2. Was the message actually sent
                        3. Jabber server used

                        Thanks.
                        Alexei Vladishev
                        Creator of Zabbix, Product manager
                        New York | Tokyo | Riga
                        My Twitter

                        Comment

                        • louzbeck
                          Junior Member
                          • Aug 2007
                          • 4

                          #13
                          Just started with Zabbix this morning.. so maybe I didn´t configure something right, but I have the same problem (Zabbix 1.4.1).

                          1. errors in Zabbix log files:
                          19887:20070801:183529 Unsupported media type [3] for alert ID [2]
                          19887:20070801:183559 Unsupported media type [3] for alert ID [2]

                          2. Message wasn´t sent

                          3. Server used: jabber.org (didn´t installed my own server yet)

                          iksemel pkgs installed as said in the manual, and I configured an account in Administration->Media Types

                          Did I forget something?

                          Thanks in advance

                          Comment

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

                            #14
                            Originally posted by louzbeck
                            Did I forget something?
                            Yes, you forgot to compile support of Jabber!
                            Alexei Vladishev
                            Creator of Zabbix, Product manager
                            New York | Tokyo | Riga
                            My Twitter

                            Comment

                            • louzbeck
                              Junior Member
                              • Aug 2007
                              • 4

                              #15
                              Whoups! sorry fot this,

                              thx

                              Comment

                              Working...