Director: Cisco 2960 - not connected to


I am trying to run the nwc_health check on Cisco switch in Icinga Director:

The Log-file showing me that:
information/ApiListener: Reconnecting to endpoint ‘my fqdn from switch’ via host ‘ip from switch’ and port ‘5665’
critical/TcpSocket: Invalid socket: Connection refused
critical/ApiListener: Cannot connect to host ‘ip from switch’ on port ‘5665’

Hostalive is OK

But, if I doing the same thing over the config-files, there are no problems.

Have someone an idea, what is wrong…?



Thank you.


nwc_health is an SNMP based plugin and queries the switch via remote. Therefore you must not mark the host as agent. Instead, ensure that the master can reach the network device via udp/161.

I don’t know if that’s possible these days, but if you really happen to have icinga as agent installed on that Cisco switch, you need to ensure it is properly configured and is reachable from the Icinga master. But as said, I doubt that this is the case.


Thank you very much.

That was the solution. It was wrong that the Agent was on.

1 Like