Maybe I know, why is this doesn´t work.
I don´t have any contact in my hosts. I´m solving it now in my second thread.
But I still can´t figure it out.
I fixed my script, script is working now, but Icinga2 doesn´t executing scripts.
In log is nothing.
But thank you for trying to help me!
If you have any idea, please help me…
/Kevin