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!