Ad Widget

Collapse

Zabbix Proxy

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ginesgb
    Junior Member
    • Nov 2014
    • 23

    #1

    Zabbix Proxy

    Hola buenas a todos, he configurado el zabbix proxy para conectar diversos segmentos de red, pero tengo un problema, y aunque responde a ping entre el servidor y el proximo aunque esta en diferente segmentos no consigue monitorizarse, dando el error de:

    Received empty response from Zabbix Agent at [10.30.10.11]. Assuming that agent dropped connection because of access permissions.

    ¿que error de configuración o permisos debo de facilitar para que pueda hacerlo?
    Un saludo y gracias
  • angelhc
    Senior Member
    Zabbix Certified Specialist
    • Nov 2009
    • 226

    #2
    Has probado a hacer telnets entre el proxy y el zabbix server en los puertos que has configurado (10050 y 10051)?
    Si "se ven" entre ellos no deberías tener problemas.
    Por supuesto revisa con cuidado tu zabbix_agentd.conf y en concreto la parte de Server
    SAludos!
    Number of hosts 1600,Number of items +90k,Number of triggers +22k, Number of users +100, New values per second +1270

    http://zabbixes.wordpress.com/

    Comment

    • ginesgb
      Junior Member
      • Nov 2014
      • 23

      #3
      Proxy Zabbix

      Hola buenas, muchas gracias por reponderme, te informo que la conexión entre las maquinas si funciona corrctamente, de hecho cuando tiro o apago una maquina el servidor de zabbix me indicado otro error distinto que no puede conectarse.

      Te adjunto un diagrama y los ficheros para que observes que esta todo efectuado,pero sigue dando el mismo error.

      Received empty response from Zabbix Agent at [10.10.30.11]. Assuming that agent dropped connection because of access permissions
      Un saludo y gracias
      Last edited by ginesgb; 14-08-2015, 09:44.

      Comment

      • angelhc
        Senior Member
        Zabbix Certified Specialist
        • Nov 2009
        • 226

        #4
        Buenas,
        Disculpa si igual no me entero pero me estas poniendo los ficheros de configuraciones de proxy pero lo que no te funciona es el agente ¿no?

        El fallo que te está dando es 90% seguro configuración, revisa tanto el nombre del server dentro del fich de conf del proxy, como está dado de alta en el zabbix server... es configuración.
        Siento si no puedo ayudarte más.
        Number of hosts 1600,Number of items +90k,Number of triggers +22k, Number of users +100, New values per second +1270

        http://zabbixes.wordpress.com/

        Comment

        • ginesgb
          Junior Member
          • Nov 2014
          • 23

          #5
          Zabbix-Proxy

          Hola buenas a todos, llevo dándole vueltas al servidor de zabbix y al proxy de zabbix pero aunque he corregido errores sigue sin conectar.
          El error es :
          Get value from agent failed: cannot connect to [[10.10.10.10]:10050]: [4] Interrupted system call
          La configuración que actualmente tengo, me da este error.
          Puedo monitorizar el agente de Zabbix que tienes instalado el servidor proxy zabbix pero el servicio que efectúa de proxy para monitorizar otras máquinas no lo efectúa correctamente o tengo un error de configuración que no se actualmente cual es, después de revisarlo todo.

          El servidor de Zabbix está montado con una base de datos mysql y el servidor de proxy de zabbix está montado con una base de datos sqlite.
          El error que me esta dando al activar el modo debug 3 es este.

          19324:20150603:143319.290 Please consider attaching a disassembly listing to your bug report.
          19324:20150603:143319.290 This listing can be produced with, e.g., objdump -DSswx zabbix_proxy.
          19324:20150603:143319.290 ================================
          19393:20150603:143319.328 Starting Zabbix Proxy (active) [ZABBIX-INTERNET]. Zabbix 1.8.11 (revision 26205).
          19393:20150603:143319.328 **** Enabled features ****
          19393:20150603:143319.328 SNMP monitoring: YES
          19393:20150603:143319.328 IPMI monitoring: YES
          19393:20150603:143319.328 ODBC: NO
          19393:20150603:143319.328 SSH2 support: YES
          19393:20150603:143319.328 IPv6 support: YES
          19393:20150603:143319.328 **************************
          19398:20150603:143319.348 proxy #4 started [poller #1]
          19397:20150603:143319.350 proxy #3 started [data sender #1]
          19399:20150603:143319.353 proxy #5 started [poller #2]
          19396:20150603:143319.354 proxy #2 started [heartbeat sender #1]
          19401:20150603:143319.356 proxy #7 started [poller #4]
          19402:20150603:143319.360 proxy #8 started [poller #5]
          19404:20150603:143319.360 proxy #10 started [trapper #1]
          19405:20150603:143319.362 proxy #11 started [trapper #2]
          19395:20150603:143319.363 proxy #1 started [configuration syncer #1]
          19406:20150603:143319.366 proxy #12 started [trapper #3]
          19403:20150603:143319.370 proxy #9 started [unreachable poller #1]
          19400:20150603:143319.371 proxy #6 started [poller #3]
          19407:20150603:143319.372 proxy #13 started [trapper #4]
          19408:20150603:143319.373 proxy #14 started [trapper #5]
          19411:20150603:143319.376 proxy #17 started [discoverer #1]
          19409:20150603:143319.376 proxy #15 started [icmp pinger #1]
          19410:20150603:143319.377 proxy #16 started [housekeeper #1]
          19410:20150603:143319.378 Executing housekeeper
          19393:20150603:143319.380 proxy #0 started [main process]
          19412:20150603:143319.382 proxy #18 started [history syncer #1]
          19415:20150603:143319.383 proxy #21 started [history syncer #4]
          19414:20150603:143319.384 proxy #20 started [history syncer #3]
          19413:20150603:143319.385 proxy #19 started [history syncer #2]
          19410:20150603:143319.532 Deleted 0 records from history [0.002537 seconds]
          19395:20150603:143319.538 Received configuration data from server. Datalen 8326
          19395:20150603:143319.539 Invalid field name "name"
          19408:20150603:143345.515 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:143545.535 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:143745.555 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:143945.574 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:144145.594 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:144345.613 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:144545.631 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:144745.651 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:144945.670 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:145145.689 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:145345.707 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:145545.726 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:145745.745 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:145945.764 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:150145.783 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:150345.802 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:150545.821 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:150745.843 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:150945.862 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:151145.881 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:151345.901 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:151545.921 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:151745.940 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:151945.961 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:152145.980 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:152346.000 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:152545.020 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:152745.040 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:152945.060 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:153145.083 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19410:20150603:153320.114 Executing housekeeper
          19410:20150603:153320.124 Deleted 30 records from history [0.001225 seconds]
          19395:20150603:153320.127 Received configuration data from server. Datalen 8326
          19395:20150603:153320.128 Invalid field name "name"
          19408:20150603:153345.103 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:153545.122 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:153745.142 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:153945.161 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:154145.180 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:154345.205 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:154545.224 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:154745.244 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:154945.263 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:155145.283 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:155345.303 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:155545.322 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:155745.342 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:155945.361 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:160145.380 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:160345.400 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:160545.420 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          19408:20150603:160745.439 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
          Last edited by ginesgb; 14-08-2015, 09:44.

          Comment

          • ginesgb
            Junior Member
            • Nov 2014
            • 23

            #6
            Proxy_Zabbix

            Hola a tod@s he corregido varios errores , pero el que dispongo ahora no se donde lo puedo localizar para corregirlo. ¿alguien me puede comentar algo?
            Un saludo y gracias.

            1724:20150608:135100.373 Received configuration data from server. Datalen 8326
            1724:20150608:135100.374 Invalid field name "name"
            1733:20150608:135105.616 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
            1733:20150608:135305.629 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
            1744:20150608:135359.202 Got signal [signal:15(SIGTERM),sender_pid:1812,sender_uid:0,re ason:0]. Exiting ...
            1722:20150608:135359.203 One child process died (PID:1744,exitcode/signal:255). Exiting ...
            1722:20150608:135359.215 syncing history data...
            1722:20150608:135359.215 syncing history data done
            1722:20150608:135359.215 syncing trends data...
            1722:20150608:135359.215 syncing trends data done
            1722:20150608:135359.215 Got signal [signal:11(SIGSEGV),reason:1,refaddr:0x28]. Crashing ...
            1722:20150608:135359.215 ====== Fatal information: ======
            1722:20150608:135359.215 Program counter: 0x807e8b8
            1722:20150608:135359.215 === Registers: ===
            1722:20150608:135359.215 gs = 33 = 51 = 51
            1722:20150608:135359.215 fs = 0 = 0 = 0
            1722:20150608:135359.215 es = 7b = 123 = 123
            1722:20150608:135359.215 ds = 7b = 123 = 123
            1722:20150608:135359.215 edi = b70e7ff4 = 3071180788 = -1223786508
            1722:20150608:135359.215 esi = bffcb738 = 3221010232 = -1073957064
            1722:20150608:135359.215 ebp = 0 = 0 = 0
            1722:20150608:135359.215 esp = bffcb700 = 3221010176 = -1073957120
            1722:20150608:135359.215 ebx = 0 = 0 = 0
            1722:20150608:135359.215 edx = 100 = 256 = 256
            1722:20150608:135359.215 ecx = 38002 = 229378 = 229378
            1722:20150608:135359.215 eax = 0 = 0 = 0
            1722:20150608:135359.215 trapno = e = 14 = 14
            1722:20150608:135359.215 err = 4 = 4 = 4
            1722:20150608:135359.215 eip = 807e8b8 = 134736056 = 134736056
            1722:20150608:135359.215 cs = 73 = 115 = 115
            1722:20150608:135359.215 efl = 210286 = 2163334 = 2163334
            1722:20150608:135359.215 uesp = bffcb700 = 3221010176 = -1073957120
            1722:20150608:135359.215 ss = 7b = 123 = 123
            1722:20150608:135359.215 === Stack frame: ===
            1835:20150608:135443.114 Starting Zabbix Proxy (active) [ZABBIX-INTERNET]. Zabbix 1.8.11 (revision 26205).
            1835:20150608:135443.114 **** Enabled features ****
            1835:20150608:135443.114 SNMP monitoring: YES
            1835:20150608:135443.114 IPMI monitoring: YES
            1835:20150608:135443.114 ODBC: NO
            1835:20150608:135443.114 SSH2 support: YES
            1835:20150608:135443.114 IPv6 support: YES
            1835:20150608:135443.114 **************************
            1839:20150608:135443.119 proxy #3 started [data sender #1]
            1840:20150608:135443.120 proxy #4 started [poller #1]
            1838:20150608:135443.120 proxy #2 started [heartbeat sender #1]
            1841:20150608:135443.122 proxy #5 started [poller #2]
            1837:20150608:135443.122 proxy #1 started [configuration syncer #1]
            1842:20150608:135443.128 proxy #6 started [poller #3]
            1845:20150608:135443.129 proxy #9 started [unreachable poller #1]
            1846:20150608:135443.129 proxy #10 started [trapper #1]
            1847:20150608:135443.129 proxy #11 started [trapper #2]
            1848:20150608:135443.130 proxy #12 started [trapper #3]
            1844:20150608:135443.132 proxy #8 started [poller #5]
            1849:20150608:135443.132 proxy #13 started [trapper #4]
            1850:20150608:135443.132 proxy #14 started [trapper #5]
            1851:20150608:135443.133 proxy #15 started [icmp pinger #1]
            1843:20150608:135443.133 proxy #7 started [poller #4]
            1852:20150608:135443.133 proxy #16 started [housekeeper #1]
            1852:20150608:135443.133 Executing housekeeper
            1854:20150608:135443.136 proxy #18 started [history syncer #1]
            1837:20150608:135443.137 Received configuration data from server. Datalen 8326
            1837:20150608:135443.138 Invalid field name "name"
            1852:20150608:135443.138 Deleted 1 records from history [0.003889 seconds]
            1855:20150608:135443.137 proxy #19 started [history syncer #2]
            1835:20150608:135443.139 proxy #0 started [main process]
            1853:20150608:135443.139 proxy #17 started [discoverer #1]
            1865:20150608:135443.140 proxy #21 started [history syncer #4]
            1864:20150608:135443.140 proxy #20 started [history syncer #3]
            1850:20150608:135505.642 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
            1850:20150608:135705.654 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
            1850:20150608:135905.667 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
            1850:20150608:140105.680 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
            1850:20150608:140305.692 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
            1850:20150608:140505.705 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
            1850:20150608:140705.722 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
            1850:20150608:140905.736 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
            1850:20150608:141105.750 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
            1850:20150608:141305.763 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
            1850:20150608:141505.777 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
            1850:20150608:141705.791 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
            1850:20150608:141905.804 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
            1850:20150608:142105.817 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
            1850:20150608:142305.831 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
            1850:20150608:142505.850 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
            1850:20150608:142705.863 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
            1850:20150608:142905.883 Sending list of active checks to [127.0.0.1] failed: host [ZABBIX-INTERNET] not found
            root@ZABBIX-INTERNET:/var/log/zabbix-proxy#

            Comment

            • angelhc
              Senior Member
              Zabbix Certified Specialist
              • Nov 2009
              • 226

              #7
              Has metido al host zabbix-internet en el /etc/hosts ?
              Lo que parece es que no sabe quien es ese host.
              Number of hosts 1600,Number of items +90k,Number of triggers +22k, Number of users +100, New values per second +1270

              http://zabbixes.wordpress.com/

              Comment

              • ginesgb
                Junior Member
                • Nov 2014
                • 23

                #8
                Proxy-Zabbix

                Hola, resolvi el problema, tanto el servidor de zabbix como los agentes de zabbix actualmente dispone de la misma base de datos mysql y conectaron todos a la vez, eso si la instalación del proxy zabbix la tuve que hacer desde el agente, no hizo falta configurar el /etc/hosts, el error era de los paquetes, pero desde un paquete binario funciono correctamente.

                Un saludo y muchas gracias.

                Comment

                Working...