Ad Widget

Collapse

Remote Monitoring of other Networks

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Abdyman
    Junior Member
    • Apr 2013
    • 8

    #1

    Remote Monitoring of other Networks

    Hey guys,
    tried doing a search on this and found something in german, and another guy that never got a response but figured it would be done through VPN.

    Basically what i want to know is if i put the Zabbix server with a static WAN IP, and put agents on another network can they be linked to that IP and then just have that 1 server monitor w/e i want?
  • burn1024
    Member
    • Jun 2012
    • 52

    #2
    yes they can

    Comment

    • c.mammoli
      Member
      Zabbix Certified Specialist
      • Feb 2012
      • 48

      #3
      Originally posted by Abdyman
      Hey guys,
      tried doing a search on this and found something in german, and another guy that never got a response but figured it would be done through VPN.

      Basically what i want to know is if i put the Zabbix server with a static WAN IP, and put agents on another network can they be linked to that IP and then just have that 1 server monitor w/e i want?
      If the agents are behind nat/firewall you need to configure a port forwarding for each host. If you use active checks it should work without any configuration on the remote network as long the agents can reach the server on port 10051.
      Or you can use proxies...

      Comment

      • Abdyman
        Junior Member
        • Apr 2013
        • 8

        #4
        Originally posted by c.mammoli
        If the agents are behind nat/firewall you need to configure a port forwarding for each host. If you use active checks it should work without any configuration on the remote network as long the agents can reach the server on port 10051.
        Or you can use proxies...

        Thanks for the info, is there a guide for setting up active checks between the server and agent?
        or if you have the time list the basic steps i would need to take.

        Comment

        • c.mammoli
          Member
          Zabbix Certified Specialist
          • Feb 2012
          • 48

          #5
          As I said, the agent should be able to reach the server on port TCP/10051.
          On the agent config file you have to set:

          ServerActive=[your zabbix server]

          Then on the web frontend just set the type of the items to "Zabbix agent (active)

          Comment

          • Abdyman
            Junior Member
            • Apr 2013
            • 8

            #6
            thanks for the quick reply,

            on the remote machine if i type "wanip":10051 i get a webpage that says ok

            i am using the msi installer from this site


            however im not sure how i would add it on the zabbix web portal. The zabbix agent still ask for an IP on the web

            Comment

            • c.mammoli
              Member
              Zabbix Certified Specialist
              • Feb 2012
              • 48

              #7
              Originally posted by Abdyman
              thanks for the quick reply,

              on the remote machine if i type "wanip":10051 i get a webpage that says ok

              i am using the msi installer from this site


              however im not sure how i would add it on the zabbix web portal. The zabbix agent still ask for an IP on the web
              If you the Ok the the client can reach the server (zabbix server has a micro embedded http server)


              On the client in zabbix_agentd.conf check you have:
              Hostname=myagent.foo.bar
              ServerActive=myserver.foo.bar

              On the web frontend add an host as usual, as IP address you can enter a fake one, even 127.0.0.1. As long as you only use active checks this does not matter

              As Host name you have to enter the same string you used in the zabbix_agentd.conf!!! In my example: myagent.foo.bar

              Then add an item using zabbix agent (active) and wait for some minutes.

              On startup the agent on the remote machine will connect to the server and download the list of required items, then it will start to send data to the server!

              Comment

              • Abdyman
                Junior Member
                • Apr 2013
                • 8

                #8
                Thanks for the info, gonna go test it out

                Comment

                Working...