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.
My Windows version is Windows 10 Pro. I used the official Icinga instructions.
I get the error message when I put it in the Ubuntu server to be able to monitor Windows. I was trying to monitor the RAM of the Windows client
Please explain exactly what you mean by “I get the error message when I put it
in the Ubuntu server to be able to monitor Windows.”
Show us what the configuration looks like, tell us what command you are typing,
or somehow else give us enough information to be able to reproduce the problem
for ourselves.
We need to know exactly what you are doing in order to be able to suggest what
you should be doing instead.
I’m not sure what error message is showing. Is your Icinga conf correct? Run ‘icinga2 daemon -C’ to confirm your Icinga conf files are correct. If you config is correct than restart you icinga2 service.
Can you please use better formatting in your post. Its hard to see the pictures. Can you please add all code with three back ticks before and after code ( key to left of number 1 on English keyboard). This will help when view code blocks. Examples are here.
Append the text below to your constants.conf file on your Windows host and restart the Icinga2 service on your Windows host. This has resolved this error for me on my Windows host.
/* The directory contains the local NSClient++ plugins
* This resolved error - scp.exe, The system cannot find the file specified.
*/
const NscpPath = "C:\\Program Files\\NSClient++"
Hello, I was trying what you told me and pinging worked for me but I want to know the ram of the equipment and with that it keeps giving me an error. Same old Execvpe( scp.exe) failed: No such file or directory
Ahh okey, sorry, the file constans.conf i edit in ubuntu no in windows.
I already tried putting what you told me in windows and it keeps failing. I have not edited the files in windows. So they’re all by default.