Windows performance counter can be effectively monitored using perf_counter.
In order to get full list of performance counter available for monitoring you may run:
Unfortunately, depending on local settings naming of the performance counters can be different on different Windows servers. This introduces certain problem when creating a template for monitoring number of Windows machines having different locales.
Every performance counter can be translated into numeric form, which is unique and exactly the same regardless of language settings.
Run regedit, then find HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\009. The registry entry contains information like:
So, in order to translate string name of a performance counter into numeric form, find corresponding numbers for each part of the performance counter, like:
Then use these numbers to create a numeric format:
In order to define a new parameter for monitoring performance counters, one line can be added to configuration file of Zabbix agent and the agent must be restarted. For example:
Then it is possible to use "UserPerfCounter1" and "UserPerfCounter2" as usual item checks in the frontend or elsewhere, simalar to UserParameter.