Ad Widget

Collapse

Adding Zabbix Agent behind Zabbix proxy to Zabbix Frontend

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • philthynz
    Junior Member
    • Jun 2016
    • 27

    #1

    Adding Zabbix Agent behind Zabbix proxy to Zabbix Frontend

    Our hosts are monitored by the Zabbix Proxy. Some of them are only using active checks.

    How do we add active monitored hosts, monitored behind the proxy to the UI?

    In the Frontend UI, I know we have to select "Monitored by proxy". But what do we add for the agent interface? 127.0.0.1:10050? Or the DNS name and port 10051?

    In the logs I am getting errors saying the host is unreachable on 10050... Which it is. It should only be 10051 initiating the connection to the proxy. Why are these errors coming up when all the checks are active?
  • philthynz
    Junior Member
    • Jun 2016
    • 27

    #2
    Anyone? How have others added hosts monitored behind the proxy?

    Comment

    • Markku
      Senior Member
      Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
      • Sep 2018
      • 1781

      #3
      Hi, if you are using active agent items only, it doesn’t matter what you enter in the agent interface address, the default 127.0.0.1 is fine, because the Zabbix server (or proxy in this case) does not initiate any connection to the agent. The incoming agent connections will be identified and matched based on the host name only.

      Now, if you have complaints in the log that Zabbix cannot connect to agent port 10050, you must have some items in the host that are ”Zabbix agent” (= passive), not ”Zabbix agent (active)”. It is easy to happen if you attach templates that have passive agent items.

      So go to the host items list and see the Type column for any ”Zabbix agent” entries.

      I don’t see other problem in your host configuration to use proxy, just select the proxy in the dropdown list in host properties.

      Markku
      Last edited by Markku; 07-08-2019, 06:38. Reason: Fix typo

      Comment

      • philthynz
        Junior Member
        • Jun 2016
        • 27

        #4
        Awesome. Thanks for confirming

        Comment

        Working...