Ad Widget

Collapse

Jabber still in Progress

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • axel
    Member
    • Aug 2005
    • 36

    #1

    Jabber still in Progress

    Hi

    I configure zabbix --with-jabber=/usr

    And now my Jabber messages are in Progress.

    Can anyone tell me how i can ngrep or tcpdump actions @ Port 5222 ?

    i work with Zabbix since 2005 but only with Email alerts.

    I try it now with Jabber but it doestn work (In Progress) no Error messages zabbix_server.log dont show errors.
    I Use Zabbix 1.6.2

    i Think i forgot a important step. I search the Forum but canot find the answer.

    And Email alert Action are in Progress too if i compile it with Jabber support .
    Without Jabber support Email Alert Actions works fine.


    Code:
    Configuration:
    
      Detected OS:           linux-gnu
      Install path:          /usr/local
      Compilation arch:      linux
    
      Compiler:              gcc
      Compiler flags:        -g -O2   -I/usr/include/mysql -DBIG_JOINS=1  -I/usr/include   -I. -I/usr/include
    
      Enable server:         yes
      With database:         MySQL
      WEB Monitoring via:    cURL
      Native Jabber:         yes
      SNMP:                  net-snmp
      IPMI:                  no
      Linker flags:                 -L/usr/lib/mysql  -L/usr/lib  -L/usr/lib -lcurl -L/usr/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkrb5support -lresolv -lidn -lssl -lcrypto -ldl -lssl -lcrypto -lz  -L/usr/lib -lnetsnmp -lm -lwrap -lwrap -lcrypto  -L/usr/lib -lnetsnmp -lm -lwrap -lwrap -lcrypto
      Libraries:             -lm -lresolv     -lmysqlclient   -liksemel -lcurl  -lnetsnmp
    
      Enable proxy:          no
    
      Enable agent:          yes
      Linker flags:
      Libraries:             -lm -lresolv
    
      LDAP support:          no
      IPv6 support:          no
    
    ***********************************************************
    *            Now run 'make install'                       *
    *                                                         *
    *            Thank you for using ZABBIX!                  *
    *              <http://www.zabbix.com>                    *
    ***********************************************************
    Last edited by axel; 11-03-2009, 12:31.
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Everything seems to be fine. It looks like a problem with handling of Jabber messages on Zabbix side. I remember a couple of posts mentioning similar issues.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • axel
      Member
      • Aug 2005
      • 36

      #3
      Hi thx for reply

      I Fixed the Problem in a other way.

      My steps to get Jabber working without Jabber support

      I Use sendxmpp

      First step create sendxmpprc file

      Code:
      #account password
      [email protected] *******
      save it /root/.sendsmpprc
      chmod 0600 .sendxmpprc

      send a test to your account
      echo "This is a Test" | sendxmpp -d dummy [at] jabberserver [dot] com


      IF everything is working create the Script for Zabbix


      Code:
      #!/bin/sh
      echo "$3" | sendxmpp -f /path/sendxmpprc -s "$2" "$1"
      Save this script in your Zabbix script folder. For Example /home/zabbix/bin/script.sh
      And copy the sendxmpprc to any Path you like. Chown Zabbix and Chmod 600. I Use /home/zabbix/bin/sendxmpprc
      For Example : echo "$3" | sendxmpp -f /home/zabbix/bin/sendxmpprc -s "$2" "$1"

      Add the script to your Media it works fine.


      For all can speak and read german read this http://www.kilrathy.net/tag/zabbix

      Comment

      Working...