The WMI query had problems. The error text from wmic is: [wm

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Eudes87
Posts: 30
Joined: Wed Oct 09, 2019 8:37 am

The WMI query had problems. The error text from wmic is: [wm

Post by Eudes87 »

Hi all,

I use WMI to monitor Windows, but after an internal audit, we have a problem.

The WMI user had local administrator access, the monitoring functioned perfectly. After auditing, local admin access was removed. In this way, we release access to the local groups exposed in the WMI documentation “Distributed Com Users”, “Event Log Readers”, “Performance Log Users”, and “Performance Monitor Users” groups.
Performance Monitor Users:
Image
Performance Log Users:
Image
Event Log Readers:
Image
Distributed Com Users:
Image

This is the result:
Image


When you add the user to the local admin group, this is the result:
Image
Image
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: The WMI query had problems. The error text from wmic is:

Post by scottwilkerson »

In this doc,
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Was this user given "Remote Activation Privilege to Windows DCOM" (page 4-5)?

Was this user given "Remote WMI Access" (page 6)?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Eudes87
Posts: 30
Joined: Wed Oct 09, 2019 8:37 am

Re: The WMI query had problems. The error text from wmic is:

Post by Eudes87 »

The WMI documentation makes me believe that the groups mentioned already have the necessary privileges, which replace the items on pages 4-5 and 6.
Image

Is my understanding wrong?

Is there no way to replace the items on pages 4-5 and 6 with the inclusion of local groups with privileges as indicated in the manual?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: The WMI query had problems. The error text from wmic is:

Post by scottwilkerson »

Eudes87 wrote:The WMI documentation makes me believe that the groups mentioned already have the necessary privileges, which replace the items on pages 4-5 and 6.
They may not in restricted environments, just by default.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Eudes87
Posts: 30
Joined: Wed Oct 09, 2019 8:37 am

Re: The WMI query had problems. The error text from wmic is:

Post by Eudes87 »

They may not in restricted environments, just by default.
Sorry, but what does that mean?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: The WMI query had problems. The error text from wmic is:

Post by scottwilkerson »

Eudes87 wrote:
They may not in restricted environments, just by default.
Sorry, but what does that mean?
It means those groups may not have enough access in your environment.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked