Werk #1093: windows agent: performance counter can now be specified by name

Komponente Checks & agents
Titel windows agent: performance counter can now be specified by name
Datum 31.07.2014
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 1.2.5i6
Level Kleine Änderung
Klasse Neues Feature
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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

Zur Liste aller Werks