I have a strange behavior of the check_tcp script.
I want to check the certificates of a Host. If the result is ok, i get 2 lines of output of the script but only the second one gets into icinga.
First I thaught that it is a thing with 2 lines of output. So I made a wrapper to only output the first line.
Now I don’t get any output.
this is the wrapper
the following is the output in the shell
output in icinga
It is not a thing of sdtout and sdterr.
can some please help me?