Reading List of Windows Performance Counters fails

Started by Spheron, November 09, 2017, 09:40:15 AM

Previous topic - Next topic

Spheron

Hello @all,

if i run a configuratoin poll at a node (Windows Server 2008 R2, 64bit, NetXMS Agent 2.1.2) NetXMS can not read the Windows Performance Counters list. The configuration poll shows the follwing info:

[09.11.2017 08:12:12] **** Poll request sent to server ****
[09.11.2017 08:12:12] Poll request accepted
[09.11.2017 08:12:12] Starting configuration poll for node XXXXXXXXX
[09.11.2017 08:12:12] Checking node's capabilities...
[09.11.2017 08:12:12]    Checking NetXMS agent...
[09.11.2017 08:12:12]    NetXMS native agent is active
[09.11.2017 08:12:12]    Reading list of available Windows Performance Counters...
[09.11.2017 08:12:16]    unable to get Windows Performance Counters list

[09.11.2017 08:12:20] Capability check finished
[09.11.2017 08:12:20] Checking interface configuration...
[09.11.2017 08:12:22] Interface configuration check finished
[09.11.2017 08:12:22] Checking node name
[09.11.2017 08:12:22] Node name is OK
[09.11.2017 08:12:23] Reading list of installed software packages
[09.11.2017 08:12:23] Got information about 38 installed software packages
[09.11.2017 08:12:23] Finished configuration poll for node XXXXXXXXX
[09.11.2017 08:12:23] Node configuration was not changed after poll
[09.11.2017 08:12:23] **** Poll completed successfully ****

The DCI's from this node based on "Windows Performance Counters" are all functional and i can (manually) create new DCIs based on "Windows Performance Counters". But if i want to create a DCI based on "Windows Performance Counters" and use the "Select" button (DCI Properties Windows > General > Data Parameter) the following Windows ("Select Performance Counters") is empty.

We have this behaviour at 3/4 of all our Windows nodes. For the rest of our servers, the Windows Performance Counter query works without problems. All Machines are VMWare VM's, Windows Server 2008 R2 64bit, Updates/Patches are up to date.

We use NetXMS V2.1.2 (Server and Agent). We use NetXMS since V1.0.27. Unfortunately, I can't tell exactly from which version or event (NetXMS Version, Windows Update, etc.) the Windows Performance Counters are not working anymore.

Any help would be appreciated.

Greetings
Marco






normalcy

Hello Marco, although I can't answer your problem I can add that I've had the same thing happen to me on 2.1.2 server and agent.

64bit agents on windows 10, one will find all counters during the config poll, the other will fail with the same message as you.

Haven't yet had time to look any deeper into it, I guess enabling some debug logging on the agent will be the first step we're told to try unless someone has an idea of what it could be.

Spheron


Hello normalcy,

thanx for the feedback. I try to get some debug logs from client and server. Which debug level should i use?

Greets
Marco

Tatjana Dubrovica

Second level of debug. Messages should be something like: "%s: PDH Error %08X in call to %s (%s)"