WMI on Windows 2012 - permissions

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
[email protected]
Posts: 9
Joined: Fri May 16, 2014 5:48 am

WMI on Windows 2012 - permissions

Post by [email protected] »

Hello,

I am trying to configure several Windows 2012 servers with WMI implementation. I have followed the pdf which explains how to add permissions to an AD user, but no luck for now. The plugin still says that user login is denied.

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Here does not explain anything about windows 2012 R2 users and this does not match with the manual.

I have tried to follow this one but it is not working yet:

https://technet.microsoft.com/en-ie/lib ... 71551.aspx


Thank you
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: WMI on Windows 2012 - permissions

Post by lmiltchev »

The plugin still says that user login is denied.
Can you show us the actual command that you are running from the command line along with the output of it? Hide/obfuscate sensitive data.
Be sure to check out our Knowledgebase for helpful articles and solutions!
[email protected]
Posts: 9
Joined: Fri May 16, 2014 5:48 am

Re: WMI on Windows 2012 - permissions

Post by [email protected] »

Hello,

this is the plugin output:

Code: Select all

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
And this the used command:

Code: Select all

COMMAND: /usr/local/nagios/libexec/check_wmi_plus.pl -H 10.146.16.210 -u [b]username[/b] -p [b]password[/b] -m checkcpu 
Thanks
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: WMI on Windows 2012 - permissions

Post by tgriep »

Under Windows 2012, there are some extra settings that have to be done to get access to the WMI remotely on a Windows 2012 server.
The link below has the instructions for setting up WMI on a 2012 server. Take a look at it and see if this helps.
http://www.edcint.co.nz/checkwmiplus/node/60
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked