Hi,
Using NetXMS server 3.5.152 running on Windows 2016 (VM), agent 3.5.152 on running mostly Win 2016, Win 2019 VMs.
I am getting a warning logged to the Windows Event Viewer for most servers on my monitoring list:
H_PdhObjectItems: PDH Error C0000BB8 in call to PdhEnumObjectItems (The specified object was not found on the computer.)
If I disable collection of performance counter metadata, the warning is no longer logged.
Servername>Properties>Polling> Disable reading of Windows performance counters metadata
Instead, if I switch to logging to a file with debug level 7, I can see a couple of parameters that are causing a problem.
2021.03.01 09:22:51.815 *D* [comm.cs.392 ] Requesting parameter "GPS.LocationData"
2021.03.01 09:22:51.815 *D* [comm.cs.392 ] GetParameterValue(): result is 404 (UNKNOWN_PARAMETER)
and less frequently:
] Requesting parameter "Hardware.System.ProductCode"
2021.03.01 09:53:00.371 *D* [comm.cs.409 ] GetParameterValue(): result is 404 (UNKNOWN_PARAMETER)
2021.03.01 09:53:00.371 *D* [comm.cs.409 ] Sending message CMD_REQUEST_COMPLETED (ID 310583; size 32; uncompressed)
2021.03.01 09:53:00.371 *D* [comm.cs.409 ] Received message CMD_KEEPALIVE (310584)
2021.03.01 09:53:00.371 *D* [comm.cs.409 ] Sending message CMD_REQUEST_COMPLETED (ID 310584; size 32; uncompressed)
2021.03.01 09:53:00.386 *D* [comm.cs.409 ] Received message CMD_GET_PARAMETER (310585)
2021.03.01 09:53:00.386 *D* [comm.cs.409 ] Requesting parameter "Hardware.System.Version"
2021.03.01 09:53:00.386 *D* [comm.cs.409 ] GetParameterValue(): result is 0 (SUCCESS)
Regarding "Location":
I looked into our "Location" policy and found that under settings, "Location for this device is off".
The option to change this is greyed out so its off by design.
Is there a way to fix these collection problems without disabling all performance counter collection?
View of the object data for a typical server (attached)
Regards,
Doug
