Donimax / unraid-check-mk-agent

check-mk agent plugin for Unraid
13 stars 2 forks source link

Agent refuses connection from checkmk server #62

Closed servebeer closed 1 month ago

servebeer commented 2 months ago

I setup the script with the appropriate settings. I then ran it one time and I did not notice any errors. When I try to add my unraid server to checkmk and run a service discovery, I get: "CRIT [agent]: No cached data available CRIT" or "CRIT [agent]: Communication failed: [Errno 111] Connection refused CRIT" There is no authentication or encryption setup between the server and agents, so I am not sure why the agent keeps refusing the connection?

Jon

Donimax commented 2 months ago

Hi @servebeer Jon, What version have you installed? Do you get a reply when you telnet to your unraid server on port 6556: telnet xxx.xxx.xxx.xxx 6556? If not, check that xinetd is running: ps auxf | grep xinetd.

Please also check if the file check_mk is present in /etc/xinetd.d/check_mk'. and the binary in/usr/bin/check_mk_agent`.

The last step is to run the binary and check if you see any output.

Max

Donimax commented 1 month ago

Hi @servebeer any update from your side?

Donimax commented 1 month ago

If you have any updates, you can re-open this issue