Page 1 of 1

WMI Check Command - No such file or directory

Posted: Tue May 25, 2021 3:33 am
by uwsitsupport
Hi All,

I upgrade to Nems V1.5.2 on my Pi4 and since then I've had all my WMI check commands failing. The error is:
No output on stdout) stderr: execvp(/usr/lib/nagios/plugins/check_wmi_plus.pl, ...) failed. errno is 2: No such file or directory

I found another thread on here which suggest running: ls -lah /usr/local/nagios/libexec/check_wmi_plus.pl
This gave the output: ls: cannot access 'usr/local/nagios/libexec/check_wmi_plus.pl': No such file or directory

So clearly I'm missing that file but I don't know why? Any ideas? I ran sudo nems-upgrade and installed Patch 6 but it made no difference. I also ran sudo nems-upgrade reset but it didn't reset anything or change anything.

I'm a windows tech so please excuse my lack of knowledge with Linux and Nems itself.

Thanks, Rob

Re: WMI Check Command - No such file or directory

Posted: Wed Sep 22, 2021 6:32 am
by sistemasrdlt
Hi everybody.

Same exact error here with NEMS 1.5.2 on a Raspberry Pi 3, trying to check a Windows Service.

I searched for /usr/lib/nagios/plugins/check_wmi_plus.pl and confirmed that the file is missing on my NEMS server.

By the way, is NEMS 1.6 being released any soon? According to the release dates documented, it should be public by now.

Regards.