Hello, I’ve been getting into Icinga2 for a few weeks.
I was trying to put a Windows host for the first time and I got this error (execvpe(
scp.exe) failed: No such file or directory)
Someone could help me. Thank you.
Its a setting you can change in the director. For that you must locate the service template that your respective service uses.
In the web interface go to Icinga-Director → Services → Templates → The service you want to change
Then scroll down until you see “execute on agent”, enable this and roll out the new config.
I dont think so, its makes your life alot easier however.
If you are not using the director then you should add “command_endpoint = host.name” to the service file you are using.
Yes, your kickstart wizard has not been run yet. This is how I do it:
Endpoint name: The hostname of your icinga server
Icinga host: The IP of your icinga server
API User and Password: The Api User you created during the icinga installation
This is the error that I got, I have written down the usernames of everything that I have put and in the API user is the one that I put but I get this error
Looks like the wizard cant connect to the icinga instance. I assume that you are using apache on the same server that hosts icinga? Can you check if your icinga endpoint is actually called “icinga_master” and did you run the node wizard from the terminal yet?
Since you have icingaweb2 it would be very unusual to use two different server for icinga and apache, so I think we can cross that one out.
When settings up an icinga instance I (personally) use the following order:
Installing Icinga2 + Web + Director
You already did that