This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
监控服务守护程序
监控服务守护程序 (ctxmonitord) 通过执行定期扫描来监控关键服务。当检测到异常时,守护程序会重新启动或停止服务进程,并清理进程残留以释放资源。检测到的异常记录在 /var/log/xdl/ms.log 文件中。
配置
监控服务守护程序在您启动 VDA 时自动启动。
您可以通过 /opt/Citrix/VDA/sbin 下的 scanningpolicy.conf、rulesets.conf 和 whitelist.conf 文件使用管理员权限配置此功能。
要使您对 scanningpolicy.conf、rulesets.conf 和 whitelist.conf 文件所做的更改生效,请运行以下命令以重新启动监控服务守护程序。
- systemctl restart ctxmonitord
<!--NeedCopy-->
- **scanningpolicy.conf**
此配置文件启用或禁用监控服务守护程序。它设置服务检测间隔并指定是否修复检测到的异常。
- MonitorEnable: true/false (默认为 true)
- DetectTime: 20 (单位:秒,默认值:20,最小值:5)
- AutoRepair: true/false (默认为 true)
- MultBalance: false
- ReportAlarm: false
- **rulesets.conf**
此配置文件指定要监控的目标服务。默认情况下有四个受监控的服务,如以下屏幕截图所示。

要配置每个要监控的服务,请设置以下字段。
- **MonitorUser**: all
- **MonitorType**: 3
- **ProcessName**: <> (进程名称不能为空,并且必须完全匹配。)
- **Operation**: 1/2/4/8 (1 = 检测到异常时停止服务。2 = 检测到异常时终止服务。4 = 重新启动服务。8 = 清理 Xorg 进程残留。)
- **DBRecord**: false
-
whitelist.conf
在 rulesets.conf 文件中指定的目标服务也必须在 whitelist.conf 文件中进行配置。白名单配置是用于安全的辅助筛选器。
要配置白名单,请仅在 whitelist.conf 文件中包含进程名称(必须完全匹配)。有关示例,请参阅以下屏幕截图。

注意:
在停止 ctxvda、ctxhdx 和 ctxpolicyd 服务之前,请运行 systemctl stop ctxmonitord 命令以停止监控服务守护程序。否则,监控服务守护程序会重新启动您停止的服务。
共享
共享
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.