Ad Widget

Collapse

Question re network interfaces on hosts and server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wr38592
    Junior Member
    • Jan 2014
    • 6

    #1

    Question re network interfaces on hosts and server

    I'm just starting to set up Zabbix on our network and I have a question.

    Each server has two interfaces, one private on the 10. network, and one public interface. This is also the case for the zabbix server. I want Zabbix to communicate with the agents through the 10. network, but I also want to monitor some items on the public interface.

    When I set up the hosts, do I put both addresses in the agent interfaces? Do I just put the Zabbix server's private address in each agent's config file?
  • aib
    Senior Member
    • Jan 2014
    • 1615

    #2
    Let me guess...

    1) Zabbix server has two network card:
    - public - (something like) 192.168.1.1/24
    - private - (something like) 10.0.0.1/24

    2) Zabbix agent installed on client's server which has one network card:
    - private - 10.0.0.2/24

    In this case you have to configure "Server" in zabbix_agentd.conf
    Code:
    Server=10.0.0.1
    and from command line check if you can ping ZABBIX server from client's server and vice versa.

    If the client's server also has two network card
    - public - (something like) 192.168.1.2/24
    - private - (something like) 10.0.0.2/24

    In this case you have to configure one more keyword - "ListenIP". Zabbix agent will listen the request from Zabbix server on this address.
    Finally, you will have two lines in your zabbix_agentd.conf file which contain the address of Zabbix server
    Code:
    Server=10.0.0.1
    ListenIP=10.0.0.2
    Sincerely yours,
    Aleksey

    Comment

    Working...