Ad Widget

Collapse

No connection between agent and server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • YaPaP
    Junior Member
    • Jun 2020
    • 11

    #1

    No connection between agent and server

    Hello everybody,

    I started to use Zabbix but I have a problem.

    Server and clients are on different places.

    In my datacenter under Mikrotik Router there are 7 servers (5x ubuntu 18.10 2x centos 7)

    I ınstalled one of them agent and maked configuration

    here is config:


    PidFile=/var/run/zabbix/zabbix_agentd.pid

    LogFile=/var/log/zabbix/zabbix_agentd.log

    LogFileSize=0

    Server=167.15.xx.xx

    ListenPort=10057

    ServerActive=167.15.xx.xx:10057

    Hostname=server2

    internal IP of agent 192.168.1.7 from mikrotik router I forwared the port 10057 to 192.168.1.57

    telnet output from server to agent

    telnet agent external IP 10057

    Trying xx.xx.xx.xx...

    Connected to xx.xx.xx.

    Escape character is '^]'.

    Connection closed by foreign host.


    sudo netstat -tulpn|grep zabbix

    tcp 0 0 0.0.0.0:10057 0.0.0.0:* LISTEN 6793/zabbix_agentd

    tcp6 0 0 :::10057 :::* LISTEN 6793/zabbix_agentd


    agent doesnt show any information about the server (uptime, cpu usage, etc) in dashboard there is only this problem: any help ?

    Click image for larger version

Name:	Dashboard 2020-06-24 16-06-43.png
Views:	342
Size:	9.8 KB
ID:	403984
  • YaPaP
    Junior Member
    • Jun 2020
    • 11

    #2
    fixed.

    I was choose as template linux prom and changed to Linux Servers/Zabbix agent.

    Comment

    Working...