Ad Widget

Collapse

Error with parameter JavaGateway

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cgaspero
    Junior Member
    • Apr 2013
    • 4

    #1

    Error with parameter JavaGateway

    Hi guys: This is my first post!!
    I had configure zabbix with this parameters
    Code:
    ./configure --prefix=/zabbix --enable-server --enable-agent --with-postgresql --with-net-snmp --with-libcurl --enable-java --datadir=/zabbix --sysconfdir=/zabbix
    
    Configuration:
    
      Detected OS:           linux-gnu
      Install path:          /zabbix
      Compilation arch:      linux
    
      Compiler:              gcc
      Compiler flags:        -g -O2    -I/usr/include     -I/usr/include/rpm -I/usr/local/include -I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE -I. -I/usr/include/net-snmp     
    
      Enable server:         yes
      Server details:
        With database:         PostgreSQL
        WEB Monitoring via:    cURL
        Native Jabber:         no
        SNMP:                  net-snmp
        IPMI:                  no
        SSH:                   no
        ODBC:                  no
        Linker flags:          -rdynamic       -L/usr/lib64    -L/usr/kerberos/lib64  -L/usr/lib64 -L/usr/lib64 -L/usr/lib64/lib  -L/usr/lib64 -L/usr/lib64 -L/usr/lib64/lib   
        Libraries:             -lm -lrt  -lresolv      -lpq    -lcurl -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz  -lnetsnmp -lcrypto -lm -lwrap -lcrypto  -lnetsnmp -lcrypto -lm -lwrap -lcrypto   
    
      Enable proxy:          no
    
      Enable agent:          yes
      Agent details:
        Linker flags:          -rdynamic     -L/usr/kerberos/lib64 
        Libraries:             -lm -lrt  -lresolv    -lcurl -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz 
    
      Enable Java gateway:   yes
      Java gateway details:
        Java compiler:         javac
        Java archiver:         jar
    
      LDAP support:          no
      IPv6 support:          no
    
    ***********************************************************
    *            Now run 'make install'                       *
    *                                                         *
    *            Thank you for using Zabbix!                  *
    *              <http://www.zabbix.com>                    *
    ***********************************************************
    After that I change my zabbix_server.conf enabling the following parameters
    Code:
    JavaGateway=10.250.0.36
    JavaGatewayPort=10052
    StartJavaPollers=5
    Then, I'd started startup.sh on /zabbix/sbin/zabbix_java/ and check in ps ax with tihs result:
    Code:
    java -server -classpath lib:lib/logback-classic-0.9.27.jar:lib/logback-core-0.9.27.jar:lib/org-json-2010-12-28.jar:lib/slf4j-api-1.6.1.jar:bin/zabbix-java-gateway-2.0.9.jar -Dzabbix.pidFile=/tmp/zabbix_java.pid -Dzabbix.listenPort=10052 com.zabbix.gateway.JavaGateway
    And when I try to reload the zabbix_server.conf I receive this message:
    zabbix_server [30081]: unknown parameter [JavaGateway] in config file [/zabbix/zabbix_server.conf], line 194

    What is the problem??
    Thanks in advance
Working...