Ad Widget

Collapse

zabbix with jabber support

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BrunoTNG
    Junior Member
    • Oct 2007
    • 2

    #1

    zabbix with jabber support

    I want to install zabbix with jabber support.

    I have iksemel library :
    PHP Code:
    ltlinux-02:/home/zabbix/zabbix-1.4.2# dpkg -l | grep -i iksemel
    ii  libiksemel-dev           1.2-3                               C library for the Jabber IM platform
    ii  libiksemel
    -utils         1.2-3                               utilities from the iksemel library
    ii  libiksemel3              1.2
    -3                               C library for the Jabber IM platform 
    i compile with :
    PHP Code:
    ./configure --enable-server --with-mysql --with-net-snmp --with-libcurl --with-jabber 
    I don't see error

    but in /tmp/zabbix_server.log

    PHP Code:
      1758:20071025:160632 Starting zabbix_serverZABBIX 1.4.2.
      
    1758:20071025:160632 **** Enabled features ****
      
    1758:20071025:160632 SNMP monitoring:       YES
      1758
    :20071025:160632 WEB monitoring:        YES
      1758
    :20071025:160632 Jabber notifications:   NO
      1758
    :20071025:160632 ************************** 

    In config.log i have :
    PHP Code:
    ltlinux-02:/home/zabbix/zabbix-1.4.2# cat config.log | grep -i jabber
      
    $ ./configure --enable-server --with-mysql --with-net-snmp --with-libcurl --with-jabber --no-create --no-recursion
    JABBER_CPPFLAGS
    =''
    JABBER_FALSE='#'
    JABBER_LDFLAGS='-liksemel   '
    JABBER_TRUE=''
    #define HAVE_JABBER 1
    config.status:723creating src/libs/zbxjabber/Makefile 
    And

    PHP Code:
    ltlinux-02:/home/zabbix/zabbix-1.4.2# cat config.log | grep iksemel
    configure:9378$PKG_CONFIG --exists --print-errors "iksemel"
    configure:9396$PKG_CONFIG --exists --print-errors "iksemel"
    pkg_cv_IKSEMEL_LIBS='-liksemel  '
    IKSEMEL_LIBS='-liksemel  '
    JABBER_LDFLAGS='-liksemel   '
    SERVER_LDFLAGS='    -L/usr/lib/mysql  -liksemel     -L/usr/lib -L/usr/lib  -L/usr/lib  -L/usr/lib' 
    Maybe another log file can help me ?

    When i re-compile zabbix-server, does the old /usr/local/sbin/zabbix_server is overwrite ?
    If yes i don't no how to enable jabber.


    Thanks for your help
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Did you run make or make install?
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • BrunoTNG
      Junior Member
      • Oct 2007
      • 2

      #3
      I run "make install" :

      #./configure --enable-server --with-mysql --with-net-snmp --with-libcurl --with-jabber
      .....
      #make install

      Comment

      • bproven
        Junior Member
        • Dec 2007
        • 6

        #4
        Ubuntu solution for Jabber support

        I was running into the same issue on Ubuntu Dapper Server 6.06. You need the following libs for Jabber iksemel1 and iksemel1-dev AND you must add the path to the libs in your configure command. The script cannot find the libs without it. After looking at the script I found that it needs /usr/. This should work. it worked fine for me:

        Code:
         ./configure --enable-server --with-mysql --with-net-snmp --with-jabber=/usr/ --with-libcurl --enable-agent && make
        Then just "sudo make install" and everything is fine (tested on Zabbix 1.4.2). I'll try to post this elsewhere and on the wiki for Ubuntu if possible. I hope this helps someone else.

        Comment

        Working...