Zabbix Documentation 4.0

3.04.04.24.4 (current)| In development:5.0 (devel)| Unsupported:1.82.02.22.43.23.4Guidelines

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 [2014/09/26 11:27]
sasha Links adapted because of a move operation
manual:config:items:perfcounters [2019/10/02 12:16] (current)
martins-v removing outdated troubleshooting section
Line 1: Line 1:
-==== - #6 Windows performance counters ====+==== 6 Windows performance counters ====
  
 === Overview === === Overview ===
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//​.