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
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
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