Strange error messages in agent log file (PDH Error C0000BB8)

Started by stoffmann, December 14, 2020, 12:07:21 PM

Previous topic - Next topic

stoffmann

Hello,

I have a recurring error message in all of my agents log files, which I have no idea where they come from.
They appear about every hour and fill the log. The agent itself seems to have no problem with it.
Sometimes an agent crashes, but I don't know if it related to this.
Core agent version: 3.5-125-g35c04417dd
I checked if there is a DCI that is polled only once per hour, but there is none.

Here is an example of a log file:

2020.12.14 03:52:18.609 *D* [comm.cs.1378       ] Server ID set to 2C03B84F800043D7
2020.12.14 04:32:11.128 *D* [comm.cs.1379       ] Server capabilities: IPv6: yes; bulk reconciliation: yes; compression: yes
2020.12.14 04:52:22.593 *D* [comm.cs.1380       ] Server capabilities: IPv6: yes; bulk reconciliation: yes; compression: yes
2020.12.14 04:52:23.681 *W* [                   ] H_PdhObjectItems: PDH Error C0000BB8 in call to PdhEnumObjectItems (The specified object was not found on the computer.)
2020.12.14 04:52:23.687 *W* [                   ] H_PdhObjectItems: PDH Error C0000BB8 in call to PdhEnumObjectItems (The specified object was not found on the computer.)
2020.12.14 04:52:23.901 *D* [comm.cs.1380       ] Server ID set to 2C03B84F800043D7
2020.12.14 05:45:13.180 *D* [comm.cs.1381       ] Server capabilities: IPv6: yes; bulk reconciliation: yes; compression: yes
2020.12.14 05:52:27.989 *D* [comm.cs.1382       ] Server capabilities: IPv6: yes; bulk reconciliation: yes; compression: yes
2020.12.14 05:52:28.871 *W* [                   ] H_PdhObjectItems: PDH Error C0000BB8 in call to PdhEnumObjectItems (The specified object was not found on the computer.)
2020.12.14 05:52:28.875 *W* [                   ] H_PdhObjectItems: PDH Error C0000BB8 in call to PdhEnumObjectItems (The specified object was not found on the computer.)
2020.12.14 05:52:29.051 *D* [comm.cs.1382       ] Server ID set to 2C03B84F800043D7
2020.12.14 06:52:33.360 *D* [comm.cs.1383       ] Server capabilities: IPv6: yes; bulk reconciliation: yes; compression: yes
2020.12.14 06:52:34.309 *W* [                   ] H_PdhObjectItems: PDH Error C0000BB8 in call to PdhEnumObjectItems (The specified object was not found on the computer.)
2020.12.14 06:52:34.312 *W* [                   ] H_PdhObjectItems: PDH Error C0000BB8 in call to PdhEnumObjectItems (The specified object was not found on the computer.)
2020.12.14 06:52:34.478 *D* [comm.cs.1383       ] Server ID set to 2C03B84F800043D7
2020.12.14 06:55:10.729 *D* [comm.cs.1384       ] Server capabilities: IPv6: yes; bulk reconciliation: yes; compression: yes
2020.12.14 07:30:54.759 *D* [notifications      ] Notification housekeeper thread started
2020.12.14 07:30:54.768 *D* [notifications      ] Notification housekeeper thread stopped
2020.12.14 07:42:11.388 *D* [comm.cs.1385       ] Server capabilities: IPv6: yes; bulk reconciliation: yes; compression: yes
2020.12.14 07:52:38.808 *D* [comm.cs.1386       ] Server capabilities: IPv6: yes; bulk reconciliation: yes; compression: yes
2020.12.14 07:52:39.569 *W* [                   ] H_PdhObjectItems: PDH Error C0000BB8 in call to PdhEnumObjectItems (The specified object was not found on the computer.)
2020.12.14 07:52:39.576 *W* [                   ] H_PdhObjectItems: PDH Error C0000BB8 in call to PdhEnumObjectItems (The specified object was not found on the computer.)
2020.12.14 07:52:39.768 *D* [comm.cs.1386       ] Server ID set to 2C03B84F800043D7
2020.12.14 08:25:11.134 *D* [comm.cs.1387       ] Server capabilities: IPv6: yes; bulk reconciliation: yes; compression: yes
2020.12.14 08:52:44.273 *D* [comm.cs.1388       ] Server capabilities: IPv6: yes; bulk reconciliation: yes; compression: yes
2020.12.14 08:52:45.217 *W* [                   ] H_PdhObjectItems: PDH Error C0000BB8 in call to PdhEnumObjectItems (The specified object was not found on the computer.)
2020.12.14 08:52:45.225 *W* [                   ] H_PdhObjectItems: PDH Error C0000BB8 in call to PdhEnumObjectItems (The specified object was not found on the computer.)
2020.12.14 08:52:45.493 *D* [comm.cs.1388       ] Server ID set to 2C03B84F800043D7
2020.12.14 09:25:10.951 *D* [comm.cs.1389       ] Server capabilities: IPv6: yes; bulk reconciliation: yes; compression: yes
2020.12.14 09:52:49.715 *D* [comm.cs.1390       ] Server capabilities: IPv6: yes; bulk reconciliation: yes; compression: yes
2020.12.14 09:52:50.195 *W* [                   ] H_PdhObjectItems: PDH Error C0000BB8 in call to PdhEnumObjectItems (The specified object was not found on the computer.)
2020.12.14 09:52:50.199 *W* [                   ] H_PdhObjectItems: PDH Error C0000BB8 in call to PdhEnumObjectItems (The specified object was not found on the computer.)
2020.12.14 09:52:50.400 *D* [comm.cs.1390       ] Server ID set to 2C03B84F800043D7
2020.12.14 09:55:10.474 *D* [comm.cs.1391       ] Server capabilities: IPv6: yes; bulk reconciliation: yes; compression: yes
2020.12.14 10:35:10.262 *D* [comm.cs.1392       ] Server capabilities: IPv6: yes; bulk reconciliation: yes; compression: yes
2020.12.14 10:52:55.012 *D* [comm.cs.1393       ] Server capabilities: IPv6: yes; bulk reconciliation: yes; compression: yes
2020.12.14 10:52:55.706 *W* [                   ] H_PdhObjectItems: PDH Error C0000BB8 in call to PdhEnumObjectItems (The specified object was not found on the computer.)
2020.12.14 10:52:55.711 *W* [                   ] H_PdhObjectItems: PDH Error C0000BB8 in call to PdhEnumObjectItems (The specified object was not found on the computer.)
2020.12.14 10:52:55.987 *D* [comm.cs.1393       ] Server ID set to 2C03B84F800043D7
2020.12.14 10:55:25.283 *D* [comm.cs.1394       ] Server capabilities: IPv6: yes; bulk reconciliation: yes; compression: yes

Filipp Sudanov

Configuration poll is once per hour by default. You can try setting debug level 6 on one agent, restarting it and running configuration poll, in this case we will see at what moment this error is happening.
On what OS the agent is running?

stoffmann

It's running on Windows. Configuration Polling was a good tip.
With debug level 6 I now see

Requesting list "PDH.ObjectCounters("{7ed66c3b-fa9a-4610-98c5-2f85f23d17d8}")"
2020.12.14 16:52:10.140 *W* [                   ] H_PdhObjectItems: PDH Error C0000BB8 in call to PdhEnumObjectItems (The specified object was not found on the computer.)
2020.12.14 16:52:10.140 *D* [comm.cs.4          ]


When I run the configuartion poll manually I see an error in the NetXMS Console output saying:


[14.12.2020 16:52:11]    Checking EtherNet/IP...
[14.12.2020 16:52:12]    Cannot get device identity via EtherNet/IP (CONNECT FAILED)


When I check "Disable usage of EtherNet/IP for all polls" in the Polling properties, the error is gone

Not sure if this is required for some other things.


Filipp Sudanov

Ethernet/IP is a protocol used on some industrial controllers, this message informs that netxms was not able to connect via this protocol.

PDH error is related to windows performance counters. On configuration poll netxms is trying to read the list of performance counters. If this was successful, when adding a DCI of type "Windows performance counters" under "Select" button there will be a list of available counters.
In node properties -> Polling it's possible to turn this off - "Disable reading of Windows performance counters metadata" checkbox.

Here's an old post that mentions same PDH error:
https://www.netxms.org/forum/general-support/problem-with-windows-performance-counters/