Ad Widget

Collapse

Zabbix proxy Last seen (age) is Never

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tahamilton64
    Junior Member
    • Jun 2018
    • 7

    #1

    Zabbix proxy Last seen (age) is Never

    I have provisioned a zabbix-proxy. I was able to get the VM up and running and the zabbix-proxy service started. I have now added the proxy in the Administration section area on the Zabbix Server. I was able to add the proxy by IP, however the "Last Seen ( age)" column remains never. The proxy is set as active. I'm not sure what to look at for this one. I think this is the last hurdle I have to get over before I can test for production. The proxy has been added for a few hours and I would have expected it to be seen by now.

    Last edited by tahamilton64; 25-06-2018, 23:56.
  • dimir
    Zabbix developer
    • Apr 2011
    • 1080

    #2
    Check proxy log file for errors when proxy tries to get configuration update from server. Also check the server log file if it actually receives the request. By default active proxy requests for configuration update once per hour:

    Code:
    $ grep ': ConfigFrequency' conf/zabbix_proxy.conf -A7
    ### Option: ConfigFrequency
    #       How often proxy retrieves configuration data from Zabbix Server in seconds.
    #       For a proxy in the passive mode this parameter will be ignored.
    #
    # Mandatory: no
    # Range: 1-3600*24*7
    # Default:
    # ConfigFrequency=3600
    You might want to lower this value while debugging the issue. Also make sure parameters Server, ServerPort are configured correctly.

    Keep in mind that after modifications in frontend it takes server up to CacheUpdateFrequency (in zabbix_server.conf) seconds to get configuration changes.

    Comment

    • kernbug
      Senior Member
      • Feb 2013
      • 330

      #3
      Originally posted by tahamilton64
      I have provisioned a zabbix-proxy. I was able to get the VM up and running and the zabbix-proxy service started. I have now added the proxy in the Administration section area on the Zabbix Server. I was able to add the proxy by IP, however the "Last Seen ( age)" column remains never. The proxy is set as active. I'm not sure what to look at for this one. I think this is the last hurdle I have to get over before I can test for production. The proxy has been added for a few hours and I would have expected it to be seen by now.

      Hello

      Please, check proxy 'hostname' both in the configuration file of the Zabbix Proxy and Web Frontend, also don't forget to set ServerActive in the Zabbix Proxy configuration.

      Comment

      • tahamilton64
        Junior Member
        • Jun 2018
        • 7

        #4
        Do the host names on both devices need to match?

        Comment

        • tahamilton64
          Junior Member
          • Jun 2018
          • 7

          #5
          I didn't find a setting for ServerActive in the proxy configuration

          Comment

          • kernbug
            Senior Member
            • Feb 2013
            • 330

            #6
            Originally posted by tahamilton64
            Do the host names on both devices need to match?
            Yep
            I didn't find a setting for ServerActive in the proxy configuration
            My mistake only 'Server' and 'ProxyMode=0' for active mode.

            Comment

            Working...