Page 3 of 3

Re: Upgrade to latest version from Nagios XI 2014R2.0 fails

Posted: Tue Apr 12, 2016 2:06 am
by Frédéric GRANAT
Hi,
Thanks, the upgrade completed.
But I've got now an error on every checks using check_wmi_plus.pl

Code: Select all

COMMAND: /usr/local/nagios/libexec/check_wmi_plus.pl -H xxxxxx -u xxxxxx -p xxxxxxx -m checkcpu -w 80 -c 90 
OUTPUT: UNKNOWN - The WMI query had problems. You might have your username/password wrong or the user's access level is too low. Wmic error text on the next line.
[librpc/rpc/dcerpc_util.c:1290:dcerpc_pipe_auth_recv()] Failed to bind to uuid 4d9f4ab8-7d1c-11cf-861e-0020af6e7c57 - NT_STATUS_NET_WRITE_FAULT
[librpc/rpc/dcerpc_connect.c:790:dcerpc_pipe_connect_b_recv()] failed NT status (c0000022) in dcerpc_pipe_connect_b_recv
[wmi/wmic.c:196:main()] ERROR: Login to remote object.
NTSTATUS: NT_STATUS_ACCESS_DENIED - Access denied
Please help me

Re: Upgrade to latest version from Nagios XI 2014R2.0 fails

Posted: Tue Apr 12, 2016 8:57 am
by tgriep
Can you email in this file so we can review it?

Code: Select all

/usr/local/nagios/libexec/check_wmi_plus.conf
Then run the following as root and post the output.

Code: Select all

grep VERSION /usr/local/nagios/libexec/check_wmi_plus.pl |head -1
wmic -V
ls -l /usr/local/nagios/libexec/
If you are using a domain login to the servers, make sure the user name for the command is in this format

Code: Select all

domain/username
Also, take a look at this document and see if the settings on your windows server match the document.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
The updated plugin may require more privileges on the Windows server to run.

Re: Upgrade to latest version from Nagios XI 2014R2.0 fails

Posted: Tue Apr 12, 2016 9:52 am
by Frédéric GRANAT
Hi,
Thanks, using the format "domain/username" makes my services work.
It was working in the previous version without the domain.
How do you explain that ?

Rgds,

Frederic

Re: Upgrade to latest version from Nagios XI 2014R2.0 fails

Posted: Tue Apr 12, 2016 11:03 am
by lmiltchev
Upgrading from Nagios XI 2014R2.0 to the latest is quite a jump. I am not sure what was the version of the "check_wmi_plus.pl" plugin used back then, and what was changed in the "check_wmi_plus.conf" but according to our developers, this file hasn't been touched for at least 7 months. Maybe you can find what was changed in the change log:
http://www.edcint.co.nz/checkwmiplus/?q=Change%20Log

Note: "check_wmi_plus.pl" is a 3rd party plugin which we use. It's not developed by Nagios.

Do you have any more issues/questions? Is it safe to lock this thread?

Re: Upgrade to latest version from Nagios XI 2014R2.0 fails

Posted: Wed Apr 13, 2016 1:15 am
by Frédéric GRANAT
Hi,
Thanks, you can close the post.

Rgds,

Frederic