Windows Terminal Server - Session monitoring funktiniert nicht mehr

Hallo zusammen,

ich habe einen Windows 2022 Server welche nach dem Update auf cmk-agent-ctl 2.3.0p30 keine Werte für ts_session mehr liefert. Bisher hat alles funktioniert, nach dem Update auf die genannte Agent Version habe ich das Problem, dass der Service auf Vanished steht und keine Werte bekommt. Im checkmk dump ist auch kein Wert zu finden.

Konfigurations habe ich wie zuvor übernommen:

winperf:
enabled: yes

# default value,  do not change it if do not know what are you douing
exe: agent

# no - nothing(default), yes output trace to the log/winperf.log
trace: no

# yes - fork process for winnperf to prevent potential handle leaking, no - internally
fork: no

# changes only section name winperf_******
prefix: winperf

# default value,  increase for heavy loaded machine
timeout: 10

# Select counters to extract. The following counters
# are needed by checks shipped with check_mk.
# Format:
# - id:name
# where id is OS counter and name is part of CHECK_MK Header
counters:
    - 234: phydisk
    - 510: if
    - 238: processor
    - Terminal Service: ts_sessions

Nachdem “Terminal Service: ts_sessions” nicht mehr funktioniert habe ich unter “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\CurrentLanguage” die Werte für winpref abgerufen und die configuration wie folgt geändert:

winperf:
enabled: yes

# default value,  do not change it if do not know what are you douing
exe: agent

# no - nothing(default), yes output trace to the log/winperf.log
trace: no

# yes - fork process for winnperf to prevent potential handle leaking, no - internally
fork: no

# changes only section name winperf_******
prefix: winperf

# default value,  increase for heavy loaded machine
timeout: 10

# Select counters to extract. The following counters
# are needed by checks shipped with check_mk.
# Format:
# - id:name
# where id is OS counter and name is part of CHECK_MK Header
counters:
    - 3200: ts_sessions
    - 234: phydisk
    - 510: if
    - 238: processor

Leider funktioniert das und die Werte 1920, 3198 auch nicht, gefühlt habe ich auch schon das ganze Forum durchsucht.

Viele Grüße!

Erstmal ganz doof gefragt: Könnte sich im Windows was geändert haben, oder scheint es eher ein Checkmk Thema zu sein?

Ich sehe hier zwei Probleme.

  1. Die Ausschnitte der YAML Dateien hier sind doch nicht die “check_mk.user.yml” oder? Das sieht mir mehr nach der Agent internen Datei aus.
    Bitte diese nicht editieren sondern nur die in Programdata befindliche “check_mk.user.yml”.

  2. der Session Counter hat den Namen “Terminal Services”

winperf:
  enabled: yes
  counters:
    - Terminal Services: ts_sessions

Im Monitoring wurden Werte angezeigt bevor ich das Update des CheckMK Agents durchgeführt hatte.

Mein Ausschnitt kommt aus der “”, ich hab es auch auch in der “checkmk_mk.user.yml” versucht. Zuvor habe ich es natürlich aus der “check_mk.yml” entfernt. Beides ohne Erfolg.

Aktuelle Conifg:

“checkmk_mk.user.yml” Datei
winperf:
enabled: yes

# changes only section name winperf_******
# prefix: winperf

# no - nothing(default), yes output trace to the log/winperf.log
trace: no

# yes - separate process for winnperf to prevent ahndle leaking, no - locally
fork: yes



# default value,  increase for heavy loaded machine
timeout: 10

# Select counters to extract. The following counters
# are needed by checks shipped with check_mk.
# Format:
# - id:name
# where id is OS counter and name is part of CHECK_MK Header 
counters:
    - 638: tcp_conn
    - Terminal Services: ts_sessions

check_mk.ym" Datei
winperf:
enabled: yes

# default value,  do not change it if do not know what are you douing
exe: agent

# no - nothing(default), yes output trace to the log/winperf.log
trace: no

# yes - fork process for winnperf to prevent potential handle leaking, no - internally
fork: no

# changes only section name winperf_******
prefix: winperf

# default value,  increase for heavy loaded machine
timeout: 10

# Select counters to extract. The following counters
# are needed by checks shipped with check_mk.
# Format:
# - id:name
# where id is OS counter and name is part of CHECK_MK Header
counters:
    - 234: phydisk
    - 510: if
    - 238: processor