Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-20356

Collecting perf_counter problem on Windows agent2

XMLWordPrintable

    • Sprint 87 (Apr 2022), Sprint 88 (May 2022), Sprint 94 (Nov 2022), Sprint 95 (Dec 2022)
    • 1

      Steps to reproduce:
      Hard to predict but it happen and agent not return accidently data for perf_cunter till restart agent

      Here is debug

      2021/12/15 14:36:09.353647 failed to execute exporter task for itemid:8513769 key 'perf_counter_en\[\\LogicalDisk(C:)\\Avg. Disk sec/Write]' error: 'No data to return.
      
      '
      
      2021/12/15 14:36:09.354649 check 'perf_counter_en\[\\LogicalDisk(C:)\\Avg. Disk sec/Write]' is not supported: No data to return.
      
      2021/12/15 14:36:09.356650 executed exporter task for itemid:20689209 key 'vfs.fs.size\[C:\\ClusterStorage\\CSV0010,pused]'
      
      2021/12/15 14:36:09.356650 executed exporter task for itemid:21400029 key 'vfs.fs.size\[C:\\ClusterStorage\\New_CSV0015,pused]'
      
      2021/12/15 14:36:09.665915 \[UserParameter] command:' powershell -NoProfile -ExecutionPolicy "RemoteSigned" -File "c:\\mon-agent\\scripts\\microsoft.ps1" -Action "getnode" -Object "CAB-PSP-HV00084" -Key "none"' length:2 output:'Up'
      
      2021/12/15 14:36:09.665915 executed exporter task for itemid:9962159 key 'microsoft\[getnode,"CAB-PSP-HV00084",none]'
      
      2021/12/15 14:36:09.665915 executing exporter task for itemid:9962161 key 'microsoft\[getnode,"CAB-PSP-HV00086",none]'
      
      2021/12/15 14:36:09.665915 \[UserParameter] executing command:' powershell -NoProfile -ExecutionPolicy "RemoteSigned" -File "c:\\mon-agent\\scripts\\microsoft.ps1" -Action "getnode" -Object "CAB-PSP-HV00086" -Key "none"'
      
      2021/12/15 14:36:10.336272 plugin WindowsPerfMon: executing collector task
      
      2021/12/15 14:36:10.336272 plugin Cpu: executing collector task
      
      2021/12/15 14:36:10.336272 executing exporter task for itemid:21400030 key 'vfs.fs.size\[C:\\ClusterStorage\\New_CSV0016,pused]'
      
      2021/12/15 14:36:10.336272 executing exporter task for itemid:20689210 key 'vfs.fs.size\[C:\\ClusterStorage\\DC_CSV_NewTemp1,pused]'
      
      2021/12/15 14:36:10.338275 plugin 'WindowsPerfMon' collector failed: No data to return.
      
      2021/12/15 14:36:10.338275 executing exporter task for itemid:8513770 key 'perf_counter_en\[\\LogicalDisk(C:)\\Disk Reads/sec]'
      
      2021/12/15 14:36:10.338275 parsed performance counter \\LogicalDisk\\Disk Reads/sec
      
      2021/12/15 14:36:10.339275 failed to execute exporter task for itemid:8513770 key 'perf_counter_en\[\\LogicalDisk(C:)\\Disk Reads/sec]' error: 'No data to return.
      
      '
      
      2021/12/15 14:36:10.339275 check 'perf_counter_en\[\\LogicalDisk(C:)\\Disk Reads/sec]' is not supported: No data to return.
      
      2021/12/15 14:36:10.339275 executed exporter task for itemid:20689210 key 'vfs.fs.size\[C:\\ClusterStorage\\DC_CSV_NewTemp1,pused]'
      
      2021/12/15 14:36:10.340275 executed exporter task for itemid:21400030 key 'vfs.fs.size\[C:\\ClusterStorage\\New_CSV0016,pused]'
      
      2021/12/15 14:36:11.284206 \[UserParameter] command:' powershell -NoProfile -ExecutionPolicy "RemoteSigned" -File "c:\\mon-agent\\scripts\\microsoft.ps1" -Action "getnode" -Object "CAB-PSP-HV00085" -Key "none"' length:2 output:'Up'
      
      2021/12/15 14:36:11.284206 executed exporter task for itemid:9962160 key 'microsoft\[getnode,"CAB-PSP-HV00085",none]'
      
      2021/12/15 14:36:11.284206 plugin WindowsPerfMon: executing collector task
      
      2021/12/15 14:36:11.285205 plugin Cpu: executing collector task
      
      2021/12/15 14:36:11.285205 executing exporter task for itemid:20689211 key 'vfs.fs.size\[C:\\ClusterStorage\\CSV0002,pused]'
      
      2021/12/15 14:36:11.285205 executing exporter task for itemid:9962065 key 'microsoft\[getgroup,"CAB-PSP-TDC0012",none]'
      
      2021/12/15 14:36:11.285205 \[UserParameter] executing command:' powershell -NoProfile -ExecutionPolicy "RemoteSigned" -File "c:\\mon-agent\\scripts\\microsoft.ps1" -Action "getgroup" -Object "CAB-PSP-TDC0012" -Key "none"'
      
      2021/12/15 14:36:11.286206 executing exporter task for itemid:21400031 key 'vfs.fs.size\[C:\\ClusterStorage\\New_CSV0017,pused]'
      
      2021/12/15 14:36:11.287208 plugin 'WindowsPerfMon' collector failed: No data to return.
      
      2021/12/15 14:36:11.288207 executing exporter task for itemid:8513771 key 'perf_counter_en\[\\LogicalDisk(C:)\\Disk Writes/sec]'
      
      2021/12/15 14:36:11.288207 executed exporter task for itemid:20689211 key 'vfs.fs.size\[C:\\ClusterStorage\\CSV0002,pused]'
      
      2021/12/15 14:36:11.288207 parsed performance counter \\LogicalDisk\\Disk Writes/sec
      
      2021/12/15 14:36:11.291207 failed to execute exporter task for itemid:8513771 key 'perf_counter_en\[\\LogicalDisk(C:)\\Disk Writes/sec]' error: 'No data to return.
      

      Expected:
      Get data fine.

        1. Bildschirmfoto 2022-03-18 um 16.32.46.png
          254 kB
          Thomas Oftring
        2. image-2022-05-04-09-20-41-930.png
          38 kB
          Jmaiv
        3. image-2022-05-04-09-22-20-428.png
          80 kB
          Jmaiv
        4. image-2022-05-04-09-24-37-267.png
          35 kB
          Jmaiv
        5. image-2022-05-04-09-29-15-818.png
          36 kB
          Jmaiv
        6. image-2022-05-04-09-31-36-098.png
          33 kB
          Jmaiv
        7. image-2022-05-04-09-32-53-109.png
          0.1 kB
          Jmaiv
        8. image-2022-05-04-09-32-57-067.png
          37 kB
          Jmaiv
        9. image-2022-05-04-09-33-58-599.png
          80 kB
          Jmaiv
        10. Screenshot 2021-12-20 at 14.04.03.png
          166 kB
          Edgar Akhmetshin
        11. zabbix_agent2.log
          200 kB
          Oleksii Zagorskyi
        12. zabbix_agent2-6.0.4rc1-x64.msi.7z.001
          10.00 MB
          Michael Veksler
        13. zabbix_agent2-6.0.4rc1-x64.msi.7z.002
          5.66 MB
          Michael Veksler

            vso Vladislavs Sokurenko
            neogan Andrei Gushchin (Inactive)
            Team A
            Votes:
            16 Vote for this issue
            Watchers:
            34 Start watching this issue

              Created:
              Updated:
              Resolved: