Zabbix Documentation 4.0

3.04.04.4 (current)| In development:5.0 (devel)| Unsupported:1.82.02.22.43.23.44.2Guidelines

User Tools

Site Tools


manual:config:items:perfcounters

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
manual:config:items:perfcounters [2017/10/06 14:12]
127.0.0.1 external edit
manual:config:items:perfcounters [2019/10/02 12:16] (current)
martins-v removing outdated troubleshooting section
Line 10: Line 10:
   perf_counter["​\Processor(0)\Interrupts/​sec",​ 10]   perf_counter["​\Processor(0)\Interrupts/​sec",​ 10]
  
-For more information on using this key, see [[manual:​config:​items:​itemtypes:​zabbix_agent:​win_keys|Windows-specific item keys]].+For more information on using this key or its English-only equivalent ''​perf_counter_en''​, see [[manual:​config:​items:​itemtypes:​zabbix_agent:​win_keys|Windows-specific item keys]].
  
 In order to get a full list of performance counters available for monitoring, you may run: In order to get a full list of performance counters available for monitoring, you may run:
Line 17: Line 17:
 === Numeric representation === === Numeric representation ===
  
-As the naming of performance counters may differ on different Windows serversdepending on local settingsit introduces a certain problem when creating a template for monitoring several Windows machines having different locales.+Windows maintains numeric representations (indexes) for object and performance counter names. Zabbix supports these numeric representations as parameters to the ''​perf_counter''​''​perf_counter_en''​ item keys and in ''​PerfCounter''​''​PerfCounterEn''​ configuration parameters.
  
-At the same time every performance counter can also be referred ​to by its numeric ​formwhich is unique and exactly the same regardless of language settings, so you might use the numeric representation instead ​of strings.+However, it's not recommended ​to use them unless you can guarantee your numeric ​indexes map to correct strings on specific hosts. If you need to create portable items that work across different hosts with various localized Windows versionsstarting with Zabbix 4.0.13 ​you can use the ''​perf_counter_en''​ key or ''​PerfCounterEn''​ configuration parameter which allow to use English names regardless ​of system locale.
  
 To find out the numeric equivalents,​ run **regedit**,​ then find //​HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\009//​. To find out the numeric equivalents,​ run **regedit**,​ then find //​HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\009//​.
Line 64: Line 64:
  
 Remember to restart Zabbix agent after making changes to the configuration file. Remember to restart Zabbix agent after making changes to the configuration file.
- 
-=== Troubleshooting === 
- 
-Sometimes Zabbix agent cannot retrieve performance counter values in Windows 2000-based systems, because the pdh.dll file is outdated. It shows up as failure messages in Zabbix agent and server log files. In this case pdh.dll should be updated to a newer 5.0.2195.2668 version.