Empty output from agent at TCP port 6556

Hi All!

I try to use the Check_MK Discovery but this is the output from “Output of check plugin” using the last product version:

CRIT - no unmonitored services found, no vanished services found, no new host labels, [agent] Empty output from agent at TCP port 6556

Starting job…

  • FETCHING DATA
    [agent] Execute data source
    [agent] ERROR: Empty output from agent at TCP port 6556

This is my tests on check_mk environment:

root@checkmk:/tmp# check_mk_agent | less
<<<check_mk>>>
Version: 1.5.0p4
AgentOS: linux
Hostname: checkmk
AgentDirectory: /etc/check_mk
DataDirectory: /var/lib/check_mk_agent
SpoolDirectory: /var/lib/check_mk_agent/spool
PluginsDirectory: /usr/lib/check_mk_agent/plugins
LocalDirectory: /usr/lib/check_mk_agent/local
<<<df>>>
udev           devtmpfs     1996416       0   1996416       0% /dev
tmpfs          tmpfs         401536   10588    390948       3% /run
/dev/sda1      ext3         4061888 1837032   2224856      46% /ro


root@checkmk:/tmp# telnet 172.16.11.208 6556
Trying 172.16.11.208...
Connected to 172.16.11.208.
Escape character is '^]'.
Connection closed by foreign host.

root@checkmk:/tmp# netstat -putan | grep 6556
tcp        0      0 0.0.0.0:6556            0.0.0.0:*               LISTEN      1056/xinetd

What’s the exactly problem? Why can’t connect to the port?
Thanks!

Please check if nc (netcat) is installed on your monitoring server, if so, please try nc 172.16.11.208 6556 so you can simulate the raw connection. Do you use xinetd? if yes, please check if you configured only_from and check if it is your monitoring server.

1 Like

Update the only_from parameter from /etc/xinetd.d/check_mk
thanks!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.