Ad Widget

Collapse

Problem to reach host

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Lazareus
    Member
    • Sep 2015
    • 39

    #1

    Problem to reach host

    Hello all,


    I have a problem to reach a Zabbix host.

    Here is the context :

    I have my Zabbix server on my LAN and i'm using an SSH tunnel to reach my Zabbix proxy on a DMZ.
    It works fine as my proxy on the frontend is ok and my logs as below are fine too :

    On the server log :

    769:20170310:172036.641 sending configuration data to proxy "Zabbix Proxy DMZ ", datalen 10017
    769:20170310:172037.197 sending configuration data to proxy "Zabbix Proxy DMZ ", datalen 10017
    769:20170310:172109.664 sending configuration data to proxy "Zabbix Proxy DMZ ", datalen 10017
    769:20170310:172117.995 sending configuration data to proxy "Zabbix Proxy DMZ ", datalen 10017

    On the proxy log :

    32327:20170310:172046.467 received configuration data from server, datalen 10017
    32333:20170310:172147.638 received configuration data from server, datalen 10017
    32325:20170310:172247.139 received configuration data from server, datalen 10017
    32325:20170310:172346.069 received configuration data from server, datalen 10017


    On the DMZ where the Zabbix proxy is, i installed a Zabbix agent on a random server and the agent started well too :

    Agent log :

    19759:20170310:165056.471 Starting Zabbix Agent [hostname]. Zabbix 2.2.11 (revision 56693).
    19759:20170310:165056.471 using configuration file: /etc/zabbix/zabbix_agentd.conf
    19760:20170310:165056.472 agent #0 started [collector]
    19761:20170310:165056.472 agent #1 started[listener #1]
    19762:20170310:165056.472 agent #2 started[listener #2]
    19763:20170310:165056.473 agent #3 started[listener #3]
    19764:20170310:165056.473 agent #4 started [active checks #1]


    Now my problem is that in my frontend, i always have an error in Configuration => Hosts
    The Availability check is red with error message :

    Get value from agent failed: cannot connect to [[193.56.39.176]:10050]: [113] No route to host


    => 193.56.39.176 is the IP@ of my host
    => 193.56.39.173 is the IP@ of my proxy

    My Zabbix server is trying to connect direct to the host??? As i'm using a proxy (In passive mode) and the server sent well configuration to the proxy.


    Why my frontend on the server cannot retrieve informations from my host?


    Thank you in advance for your help and do not hesitate to ask if you need more information.
Working...