Check MK [agent] Communication failed: [Errno 104] Connection reset by peerCRIT

CMK version: 2.0
OS version: CentOS 7

Error message:

[agent] Version: 2.0.0p17, OS: linux, execution time 1.1 sec | execution_time=1.140 user_time=0.500 system_time=0.060 children_user_time=0.000 children_system_time=0.000 cmk_time_agent=0.590

Hi,

I have an issue with the agents on my hosts, for some reason the services for the agent (check_mk) change to critical and show this state [agent] Communication failed: [Errno 104] Connection reset by peerCRIT but this state change again to OK on the next refresh or if i refresh the service check chage to ok:

This is a serious problem to me because cause distrust in my implementation and i really appreciate if some one help me with this, what happens and how to fix it.

Regards!

Please provide the output of these two commands:

systemctl --version
ss -tulpn | grep 6556

Hi @mschlenker

This is the information, and thank you for your response.

systemctl --version

systemd 219
+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 -SECCOMP +BLKID +ELFUTILS +KMOD +IDN

ss -tulpn | grep 6556

ss -tulpn | grep 6556
tcp LISTEN 0 64 [::]:6556 [::]:* users:((“xinetd”,pid=31731,fd=5))

Did you already follow these steps for the connection test?