zabbix monitor introduction of Windows Performance Monitor

Windows Performance Monitor:

Because the Windows Performance Monitor under Windows performance may be digitized, so zabbix monitoring easier, direct access to the value of performance counters to complete windows monitoring.

Use Performance Monitor:

per_counter[counter,<interval>]

Description:
counter: counter Performance Monitor
interval: interval refresh a long time

perf_counter["\Processor(0)\Interrupts/sec",10]

perf_counter["\Processor(0)\Interrupts/sec"]

Get all performance counters command: typeperf -qx

The corresponding figures

As of perf_counter [ "\ Processor (0) \ Interrupts / sec"], which is \ Processor (0) \ Interrupts / sec is difficult to remember, and different windows could not the same as the system name, which may result in getting an error value. Based on this, windows has a corresponding number corresponding to the names, such as: system corresponding to 2, Memory corresponding to 4, there are thousands of names and numbers performance counters pairs. That how to find the number that corresponds to the name of it? Open the Registry Regedit, find the HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ Perflib \ 009, turn on key counter, you can copy it out

 

E.g:

\Process(RecordServerAvayaDMCC)\Working Set – Private

Can be written perf_counter [\ 230 (RecordServerAvayaDMCC) \ 1478]

 

Guess you like

Origin www.cnblogs.com/nice1163/p/11129433.html