ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    public Zabbix server - hosts inside firewall

    IT Discussion
    5
    8
    671
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Mike DavisM
      Mike Davis
      last edited by

      Now that my Zabbix server is up, I'm trying to add hosts. All of my hosts are inside firewalls. If it was just one host inside a firewall, I could probably do a port mapping, but since it's multiple servers inside the firewall, I can't do that. What's the procedure for connecting the agent to the server?

      1 Reply Last reply Reply Quote 1
      • gjacobseG
        gjacobse
        last edited by

        Not that I know - but is this multiple hosts behind a single firewall or more than one firewall?

        Mike DavisM 1 Reply Last reply Reply Quote 0
        • Mike DavisM
          Mike Davis @gjacobse
          last edited by

          @gjacobse Site A with a firewall and then 20 servers behind that firewall. Then site B with 5 servers, etc. The Zabbix server has a public IP, but all the hosts are NATed.

          1 Reply Last reply Reply Quote 1
          • JaredBuschJ
            JaredBusch
            last edited by JaredBusch

            Zabbix defaults to the server contacting the agents, but can it not be configured to let the agent initiate everything?

            1 Reply Last reply Reply Quote 0
            • Mike DavisM
              Mike Davis
              last edited by

              it looks like I need to configure active agents. working on that....

              1 Reply Last reply Reply Quote 2
              • dafyreD
                dafyre
                last edited by

                A Zabbix proxy would do this for you... IIRC, the inside hosts report to the inside proxy. The proxy reports to the public Zabbix server.

                1 Reply Last reply Reply Quote 0
                • coliverC
                  coliver
                  last edited by

                  https://www.zabbix.com/documentation/3.4/manual/distributed_monitoring/proxies

                  That's cool.

                  1 Reply Last reply Reply Quote 1
                  • Mike DavisM
                    Mike Davis
                    last edited by Mike Davis

                    I got it working. For some reason I needed to use the 32 bit agent on my 64 bit systems.

                    You download the agent from:
                    http://www.zabbix.com/download.php

                    extract the zabbix_agentd.exe to a folder like c:\zabbix
                    in the c:\zabbix folder create a file called:
                    zabbix_agentd.win.conf
                    The file needs to contain:
                    Server=xx.xx.14.212 #the IP address of your Zabbix server
                    ServerActive=xx.xx.14.212 #the IP address of your Zabbix server
                    Hostname=yourinternalservername #the name here has to match the name that you configure on the Zabbix server

                    once you save the file you run:
                    c:\zabbix\zabbix_agentd.exe --config c:\zabbix\zabbix_agentd.win.conf --install
                    net start "zabbix agent"

                    If you open services.msc you should see the Zabbix service and it should be running.

                    1 Reply Last reply Reply Quote 2
                    • 1 / 1
                    • First post
                      Last post