Execvpe(/usr/lib/nagios/plugins/check_disk.exe) failed: No such file or directory | Need help to exclude disk


I have a host on which I would like to exclude monitoring on the I:\ disk, but once I’ve made all the settings, I get an error message: execvpe(/usr/lib/nagios/plugins/check_disk.exe) failed: No such file or directory.

Here’s what I did:

I created a clone of the disk_windows command in order to modify the disk_win_exclude value. Here are screenshots of my command:

Then, I created a new service template like this:

And I created a Host template like this:

Finally, I created a new host but an error occurred, here it is:

And here is my issue:

I searched through my Icinga configuration files and couldn’t find this famous file /usr/lib/nagios/plugins/check_disk.exe. I’m not sure if it’s related…

Thanks in advance for your help.

You need to set Run on Agent to yes for this service.

Okay, thank you, that’s done, and I no longer have any errors. However, my I:\ disk is still being monitored even though I added it to my disk_win_exclude variable, can you help me please :slight_smile: .

You should remove the backslash.

Alright, I’ve done it, and everything is still working. Thanks again.