[ZBX-20013] Windows performance counters not working after autoregistration Created: 2021 Sep 23 Updated: 2021 Dec 27 Resolved: 2021 Oct 04 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent2 plugin (G) |
Affects Version/s: | 5.4.4 |
Fix Version/s: | None |
Type: | Problem report | Priority: | Trivial |
Reporter: | Nathan Slusher | Assignee: | Aigars Kadikis |
Resolution: | Cannot Reproduce | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Zabbix server 5.4.4 |
Attachments: |
![]() |
||||||||||||
Issue Links: |
|
Description |
Steps to reproduce:
Result:
2021/09/23 07:05:23.360574 plugin 'WindowsPerfMon' collector failed: The handle is not a valid PDH object.
Expected: |
Comments |
Comment by Aigars Kadikis [ 2021 Sep 27 ] |
Thank you for contacting us. I cannot reproduce the issue on Zabbix instance 5.4.4 with Windows Version 10.0.19042.1237 while using Zabbix agent 2 (x64) 5.4.4. All 13 'perf_counter_en' items work on the first boot up. Try to open 'PerfMon.msc' console open on Windows system and try simulating auto registration again. If you have any Antivirus/hardening software, try to unload them. Let us know the outcome. |
Comment by Nathan Slusher [ 2021 Sep 27 ] |
Hello Aigars. I removed an existing host and added a new host to the system and I could not reproduce the issue - all performance related items were working. When I reported this issue it was a brand new server installation and the only host being monitored was the server itself. After I set up the auto registration rule I had four Windows hosts created and all four had problems with the performance counter items. You can close this issue - I will reopen it if it happens again and I can reproduce it. Thanks |
Comment by Aigars Kadikis [ 2021 Oct 04 ] |
Hi Nathan, Thank you for details. Closing with your permission. |