Page 1 of 1

The WMI query had problems. You might have your username/password wrong or the user's access level is too low.

Posted: Wed Jul 17, 2024 12:06 pm
by slove
Error: The WMI query had problems. You might have your username/password wrong or the user's access level is too low.

Nagios account is local admin on Windows servers. Versions server 2012/2016/2019, etc. Some work, some don't.

[[email protected] ~]$ /usr/local/nagios/libexec/check_wmi_plus.pl -H atl-tableau02 -u 'immucor.local/nagiosmonitor' -p 'XXXXXX' -m checkdrivesize -a '.': -w '80.0' -c '90' -t 45
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.
[wmi/wmic.c:196:main()] ERROR: Login to remote object.
NTSTATUS: NT_STATUS_ACCESS_DENIED - Access denied

Nagios XI version: 2024R1.1.4
Release info: USPRDAPNAG01.immucor.local 3.10.0-1160.45.1.el7.x86_64 x86_64
CentOS Linux release 7.9.2009 (Core)
Gnome is not installed

Re: The WMI query had problems. You might have your username/password wrong or the user's access level is too low.

Posted: Wed Jul 17, 2024 2:47 pm
by gwesterman
Hi @slove,

Based on this post, it looks like this issue is likely caused by a windows patch that breaks the WMI wizard / plugin. As the WMI wizard is deprecated and will not be updated to address changes that windows makes, I suggest trying to accomplish this via NCPA (like one of the users in the linked post was able to) or perhaps via the Windows SSH wizard. We are also working on making a WINRM wizard but I cannot give a specific timeline for that, but you can keep an eye on our changelog if you like.

Please let us know if you are able to find a workaround and if you have any additional questions.

Thank you!