Ad Widget

Collapse

Send notifies by xmpp (jabber)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BusteR81
    Senior Member
    • Apr 2007
    • 150

    #16
    built-in jabber works with jabber.org

    why go thr all this script mess ? i tried script with my own Openfire server but didnt get it to work... a waste of time !!! Finally i tried using the "Internal zabbix built-in Jabber". Oh man it works like a charm !! i created my own and for my network collegues jabber accounts at jabber.org and that is all.

    Jabber alerts are working in zabbix 1.4.2 now. tested on 'live' network for 1 month. Stability ~93%

    why i mention 93 % is because occasionally jabber.org webbie goes down for maintence and when jabber.org server up again, zabbix server will NOT resume the connection. it is like "Once broken, consider it Sold". so i need to kill and restart zabbix_server.

    Suggestion:
    Perhaps Alexi can intro a feature to check Jabber connection is constantly connected to jabber server (which we add in our alerts)

    Cheers
    CentOS 4.3 Mysql Zabbix 1.4.2

    Comment

    • skaze
      Junior Member
      • Jun 2007
      • 19

      #17
      Yes we also suffer from some kind of 'reconnect' issue with 1.4.2. If i bounce zabbix all is well but only until openfire gets cycled again in the midnight backup process, once that happens no more jabber notifications from zabbix.

      Comment

      • GOB
        Junior Member
        • Feb 2008
        • 2

        #18
        1.4.4 Built in Jabber support

        Does the built in jabber support work with an internal jabber (Openfire) server rather than a public one?
        If it does can anyone provide any tips on configuring it? Our Jabber server uses Active Directory Authentication and I have created an AD user account for our Zabbix server.

        Thanks

        Comment

        • zeki893
          Junior Member
          • Dec 2008
          • 23

          #19
          Originally posted by BusteR81
          why go thr all this script mess ? i tried script with my own Openfire server but didnt get it to work... a waste of time !!! Finally i tried using the "Internal zabbix built-in Jabber". Oh man it works like a charm !! i created my own and for my network collegues jabber accounts at jabber.org and that is all.

          Jabber alerts are working in zabbix 1.4.2 now. tested on 'live' network for 1 month. Stability ~93%

          why i mention 93 % is because occasionally jabber.org webbie goes down for maintence and when jabber.org server up again, zabbix server will NOT resume the connection. it is like "Once broken, consider it Sold". so i need to kill and restart zabbix_server.

          Suggestion:
          Perhaps Alexi can intro a feature to check Jabber connection is constantly connected to jabber server (which we add in our alerts)

          Cheers
          CentOS 4.3 Mysql Zabbix 1.4.2
          You are the only person that has reported that the internal jabber is working. Can you share with us how you did this?

          Comment

          • BusteR81
            Senior Member
            • Apr 2007
            • 150

            #20
            That was a long time ago with stable version 1.4.2

            1) U need to compile zabbix server with -with-jabber
            2) U need to install pk_config and imsel....
            3) Visit jabber.org and create accounts
            3a) for testing account -> Download Pidgin
            4) Go to zabbix -> user -> enter the jabber account
            5) zabbix -> admin -> enter it's jabber account

            ----------------------
            Note: U need to open 1 'Artifical Intelligent' jabber account for zabbix_server which will be online 24/7. zabbix_server will use this account to notify zabbix users on alerts etc.

            Comment

            • zeki893
              Junior Member
              • Dec 2008
              • 23

              #21
              Thanks for the reply! I had already done everything you told me before and I got it to work finally. I had to add the jabber alerts to the admin account. I don't know why, but it works with the admin account, but not with other accounts I create.

              Comment

              • zeki893
                Junior Member
                • Dec 2008
                • 23

                #22
                damn I came back from the holidays and it doesn't wok again

                Comment

                • zeki893
                  Junior Member
                  • Dec 2008
                  • 23

                  #23
                  OMG after messing around for an hour I restarted the zabbix-server and it works again

                  Comment

                  • zeki893
                    Junior Member
                    • Dec 2008
                    • 23

                    #24
                    it seems it stops sending jabber alerts after an undefined amount of time until another zabbix_server restart is applied

                    Comment

                    • pongraczi
                      Junior Member
                      • Oct 2008
                      • 3

                      #25
                      It seems, I also have this kind of problem.
                      I just upgraded to 1.6.4, maybe this will solve this issue.

                      In details:
                      After some time the jabber notification stops working and I have to restart zabbix server.
                      I used jabber.org and jabber.hu accounts.

                      Regards,
                      István

                      Comment

                      • alfiere
                        Member
                        • May 2008
                        • 51

                        #26
                        I have the same problem

                        zabbix 1.6.4
                        all the notifications work for few days, sometime a week, and after they stop.

                        No a single log line.

                        The only solution I found is to restart the zabbix daemon.


                        Any help from the sky?


                        Ciao,
                        Alf

                        Comment

                        • pongraczi
                          Junior Member
                          • Oct 2008
                          • 3

                          #27
                          Originally posted by alfiere
                          I have the same problem

                          zabbix 1.6.4
                          all the notifications work for few days, sometime a week, and after they stop.

                          No a single log line.

                          The only solution I found is to restart the zabbix daemon.


                          Any help from the sky?


                          Ciao,
                          Alf
                          Hi,

                          somewhere in this forum I found a description, how to make a new media, which can use sendxmpp script to send jabber notification.

                          I followed that and I got sendxmpp working well, except, I had to hack the sendxmpp script to send the notification as 'chat' instead of 'message', because pidgin cannot show message (maybe pidgin bug).

                          Just try to search 'sendxmpp' to find the relevant topic.
                          This was a good learning curve, at least for me.

                          Cheers,
                          István

                          Comment

                          Working...