I have a problem with Nagios, and in particular with the check_tcp plugin, used to check the Citrix connection on a Windows server. Nagios is in version 3.3.1 and nagios plugins are in version 1.4.15 (which seems to be the last ones).
When the connection is OK, the service's status is OK with Status Information saying : "TCP OK". But when the Citrix service is not responding, the service's status is still OK with Status Information saying : "Connection refused", which indicate clearly that the Citrix connection is not OK.
One more thing, when launching the check command by hand it returns 0, which explains the OK status on the web interface, while it must returns 1 or something else to indicate the error.
Did someone already have the same problem ? And is there something that I can do to correct this check ?
Thanks in advance,