Werk #1093: windows agent: performance counter can now be specified by name
Component | Checks & agents |
Title | windows agent: performance counter can now be specified by name |
Date | Jul 31, 2014 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk Version | 1.2.5i6 |
Level | Trivial Change |
Class | New Feature |
Compatibility | Compatible - no manual interaction needed |
It is no longer required to set a performance counter id in the check_mk.ini file
check_mk.ini
[winperf]
counters = 10332:msx_queues
You can now use the counter name instead
check_mk.ini
[winperf]
counters = MSExchangeTransport Queues:msx_queues
Note: Keep in mind that this name depends on you system language.
If available, the windows agent tries to find the counter name in the registry key.
SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\CurrentLanguage
If this key is missing, the english language key is used as fallback
SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\009