What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

WMI Service Sensor does not display *ALL* Windows Services

Votes:

0

WMI Service Sensor displays a list of selectable services but it does not display *ALL* services. How do we fix WMI Service Sensor, so that its list matches "services.msc" on the Windows server? We want to be able to monitor any service that appears within "services.msc." Thank you!

sensor service wmi

Created on Jul 8, 2021 6:00:09 PM



5 Replies

Votes:

0

Hello,

The sensor is using the following WQL query to list all services:

SELECT Name,Caption,Description FROM Win32_Service

Usually this should list all available services from services.msc. You can test the query manually by using our WMI Tester. Do you see the missing service here?

Created on Jul 12, 2021 8:15:07 AM by  Timo Dambach [Paessler Support]



Votes:

0

I performed this test within the PRTG WMI Tester using the custom query that you provide but the service in question plus many other services did *NOT* appear. "Services.msc" on the Windows server lists a lot more services than WMI Service Sensor or the WMI Tester Tool. How do we make these synch up and display everything that "services.msc" shows? Thank you!

Created on Jul 12, 2021 12:45:24 PM



Votes:

0

I'm afraid in this case it seems like there's an issue with your WMI class "Win32_Service". To fix this, you can try rebooting the server once (if not already done). Otherwise the following article might help as well: https://kb.paessler.com/en/topic/3713

Created on Jul 13, 2021 8:27:21 AM by  Timo Dambach [Paessler Support]



Votes:

0

Rebooting the monitored server was attempted but that didn't address the issue. I did want to mention that the local account that we use for WMI monitoring is not the local "administrator" account. We created a local account by another name and applied the following to enable WMI to function:

wmic useraccount where name="LOCALACCOUNTNAME" get name,sid

sc sdset scmanager D:(A;;CC;;;AU)(A;;CCLCRPRC;;;IU)(A;;CCLCRPRC;;;SU)(A;;CCLCRPWPRC;;;SY)(A;;KA;;;BA)(A;;CC;;;AC)(A;;CCLCRPWPRC;;;LOCALACCOUNTNAMESID)S:(AU;FA;KA;;;WD)(AU;OIIOFA;GA;;;WD) 

Even after running the above commands for the local account, is it possible that more permissions might still be needed for WMI Service Sensor to display *ALL* services that "services.msc" on the Windows server contains? Thanks again for your continued support!

Created on Jul 13, 2021 12:46:32 PM

Last change on Jul 13, 2021 4:20:43 PM by  Felix Wiesneth [Paessler Support]



Votes:

0

Im afraid, its difficult to limit the permissions that are required for WMI Sensors, since it depends on multiple factors like group policies, firewall, other domain restrictions etc. I'm afraid we can't tell how those permissions can be limited exactly for your infrastructure. That's why we always recommend to use the domain administrator.

If the above mentioned guide did not solve your issue, could you try using a administrator account instead for testing purposes to see if the issue might be related to missing permissions?

Created on Jul 15, 2021 8:33:15 AM by  Timo Dambach [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.