Ad Widget

Collapse

I have a server that I can't connect to with zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • akarim
    Member
    • Aug 2008
    • 33

    #1

    I have a server that I can't connect to with zabbix

    I have a new server based on Ubuntu 20.04 with IredMail, which I can't connect to.

    Client has disable IPV6

    I've gone through my installation script, the firewall settings (I even opened it completely)

    Nothing worse. I also increased the log system on the client, and nothing.

    Zabbix server: 5.0.23
    Zabbix client: zabbix_agentd (daemon) (Zabbix) 5.0.24

    Code:
    grep -Ev '^#|^$' /etc/zabbix/zabbix_agentd.conf
    PidFile=/var/run/zabbix/zabbix_agentd.pid
    LogFile=/var/log/zabbix/zabbix_agentd.log
    LogFileSize=0
    DebugLevel=3
    Server=ZABBIX.SERVER.IPV4
    ListenIP=0.0.0.0
    StartAgents=3
    ServerActive=zABBIX.SERVER.IPV4
    Hostname=smtp.domain.tld
    Include=/etc/zabbix/zabbix_agentd.d/*.conf
    The rest of the configuration in zabbix server is the same as other clients, based on a template that I use in more than 60 vps.



    Test via telnet ports 10050 and 10051

    Code:
    root@smtp:~# telnet ZABBIX.SERVER.IPV4 10050
    Trying ZABBIX.SERVER.IPV4...
    Connected to ZABBIX.SERVER.IPV4
    Escape character is '^]'.
    Connection closed by foreign host.
    root@smtp:~# telnet ZABBIX.SERVER.IPV4 10051
    Trying ZABBIX.SERVER.IPV4..
    Connected to ZABBIX.SERVER.IPV4
    Escape character is '^]'.
    ^CConnection closed by foreign host.
    Log with debug mode enable
    Code:
    196005:20220601:051630.946 zbx_setproctitle() title:'active checks [NODE="1"]Home[/NODE] [idle 1 sec]'
    196001:20220601:051631.906 zbx_setproctitle() title:'collector [processing data]'
    196001:20220601:051631.907 In update_cpustats()
    196001:20220601:051631.907 End of update_cpustats()
    196001:20220601:051631.907 zbx_setproctitle() title:'collector [idle 1 sec]'
    196005:20220601:051631.946 In send_buffer() host:'51.15.158.217' port:10051 entries:0/100
    196005:20220601:051631.946 End of send_buffer():SUCCEED
    ...
    Last edited by akarim; 01-06-2022, 12:00. Reason: remove sensible data
Working...