Ad Widget

Collapse

Zabbix Proxy passive mode not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • capaciticci
    Junior Member
    • May 2016
    • 8

    #1

    Zabbix Proxy passive mode not working

    i configured my zabbix proxy for passive mode and it isn't collecting data or sending it to the server. i configured a host in the UI for Item=Zabbix agent and type Zabbix proxy and we get no latest data. i see in the server log file that it is sending data to Zabbix proxy which is my hostname of my zabbix proxy but thats all i see, there is still no latest data. not sure what i'm missing here.

    zabbix_proxy.conf:

    ProxyMode=1
    Hostname=Zabbix proxy
    LogFile=/var/log/zabbix-proxy/zabbix_proxy.log
    DebugLevel=3
    DBName=zabbix
    DBUser=zabbix
    DBPassword=*******
    ConfigFrequency=120

    everything else is default
  • kloczek
    Senior Member
    • Jun 2006
    • 1771

    #2
    First: Item=Zabbix agent it is for how proxy is communicating with agents so this has nothing to do with passive proxy settings.
    Second: if in proxy cfg file there is no Server= entry pointing to zbx server proxy will be not able ask server for hosts monitoring configuration.
    Last edited by kloczek; 18-06-2016, 13:10.
    http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
    https://kloczek.wordpress.com/
    zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
    My zabbix templates https://github.com/kloczek/zabbix-templates

    Comment

    • capaciticci
      Junior Member
      • May 2016
      • 8

      #3
      proxy passve

      Originally posted by kloczek
      First: Item=Zabbix agent it is for how proxy is communicating with agents so this has nothing to do with passive proxy settings.
      Second: if in proxy cfg file there is no Server= entry pointing to zbx server proxy will be not able ask server for hosts monitoring configuration.
      according to the cfg file, when proxy is in passive mode the Server= field is ignored

      Comment

      • kloczek
        Senior Member
        • Jun 2006
        • 1771

        #4
        Originally posted by capaciticci
        according to the cfg file, when proxy is in passive mode the Server= field is ignored
        I'm sorry .. you are right this time.
        However as I wrote proxy settings have nothing to do with used types of zabbix agent metrics
        http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
        https://kloczek.wordpress.com/
        zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
        My zabbix templates https://github.com/kloczek/zabbix-templates

        Comment

        • capaciticci
          Junior Member
          • May 2016
          • 8

          #5
          zabbix proxy passive

          Originally posted by kloczek
          I'm sorry .. you are right this time.
          However as I wrote proxy settings have nothing to do with used types of zabbix agent metrics

          so then what am i missing that i get no latest data?

          Comment

          • kloczek
            Senior Member
            • Jun 2006
            • 1771

            #6
            Originally posted by capaciticci
            so then what am i missing that i get no latest data?
            Do you see in proxy log that proxy is receiving cfg data from server?
            As long as you are using passive items do you see in proxy pooler log connecting to the agents to collect metrics data? Do you see in agents logs connections from the proxy?

            PS. BTW passive monitoring does not scale well so you should be IMO more focused on use active items.
            http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
            https://kloczek.wordpress.com/
            zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
            My zabbix templates https://github.com/kloczek/zabbix-templates

            Comment

            • capaciticci
              Junior Member
              • May 2016
              • 8

              #7
              zabbix proxy passive

              Originally posted by kloczek
              Do you see in proxy log that proxy is receiving cfg data from server?
              As long as you are using passive items do you see in proxy pooler log connecting to the agents to collect metrics data? Do you see in agents logs connections from the proxy?

              PS. BTW passive monitoring does not scale well so you should be IMO more focused on use active items.
              i see in my server log that it send data to proxy, then proxy starts doing stuff.
              i see in the proxy log that it tried pinging the host then it stops there and doesnt send data to the server

              Comment

              Working...