Ad Widget

Collapse

zabbix server not connect to agent

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • maroctech
    Junior Member
    • Aug 2011
    • 10

    #1

    zabbix server not connect to agent

    Hello , I was working with zabbix just fine untill this error showed up ,
    Get value from agent failed: *** Cannot connect to [192.168.56.1]:10050 [No route to host]

    I searched many topics but it didn't realy help me .

    I checked the zabbix agent with this : net start | find /i "zabbix agent"

    it works just fine , but it wouldn't send any data to the server , that's why I get empy graphs ...

    this is my config file :

    Server=zabbixsrv
    ServerPort=10051
    Hostname=dx2300m
    # Listen port. Default is 10050
    ListenPort=10050
    # IP address to bind agent
    # If missing, bind to all available IPs
    #ListenIP=192.168.56.1 // I am not sure about this should be the Ip of the Host machine ??
    StartAgents=5
    #RefreshActiveChecks=120
    #DisableActive=1
    #EnableRemoteCommands=1

    and also I get this error : timeout while connecting to [192.168.56.1:161]

    Please Help !!!!!
  • andre_passos
    Junior Member
    Zabbix Certified Specialist
    • Mar 2011
    • 6

    #2
    Originally posted by maroctech
    Hello , I was working with zabbix just fine untill this error showed up ,
    Get value from agent failed: *** Cannot connect to [192.168.56.1]:10050 [No route to host]

    I searched many topics but it didn't realy help me .

    I checked the zabbix agent with this : net start | find /i "zabbix agent"

    it works just fine , but it wouldn't send any data to the server , that's why I get empy graphs ...

    this is my config file :

    Server=zabbixsrv
    ServerPort=10051
    Hostname=dx2300m
    # Listen port. Default is 10050
    ListenPort=10050
    # IP address to bind agent
    # If missing, bind to all available IPs
    #ListenIP=192.168.56.1 // I am not sure about this should be the Ip of the Host machine ??
    StartAgents=5
    #RefreshActiveChecks=120
    #DisableActive=1
    #EnableRemoteCommands=1

    and also I get this error : timeout while connecting to [192.168.56.1:161]

    Please Help !!!!!
    - Verify if your host and server resolv names: try ping <servername> on host and try to do a traceroute from server to host. verify if a long time to respond to this. Default timeout for wait agent respond is 3s. You can change this on zabbix_server.conf

    Att,

    Comment

    • Jeyaram
      Junior Member
      • Nov 2020
      • 2

      #3
      Hi all, I am very new with Zabbix.
      I am trying to figured out why the active proxy configuration is not working, the value on "Last seen (age)" is NEVER.

      The proxy can ping and telnet the server on port 10050 or 10051

      Comment

      • Jeyaram
        Junior Member
        • Nov 2020
        • 2

        #4
        Attached the Zabbix_proxy.conf file
        Attached Files

        Comment

        Working...