OMSA for Linux CLI“alertaction”抛出“XML 转换失败”错误,并显示 execappath 选项
Summary: 在 OMSA 10.3 及更低版本中,指定 CLI 命令来设置 alertaction 以启动特定的二进制文件或 shell 脚本可能会导致 “XML 转换失败” 错误和 execappath 选项。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
在使用 Dell OpenManage Server Administrator (OMSA) 10.3 及更早版本的情况下,以下 CLI 命令示例可能会失败:
omconfig system alertaction event=watchdogasr execappath='/usr/sbin/om_alerts.sh'
以下错误结果:
错误!XML 转换失败。
OMSA Web GUI 不受此问题的影响。
omconfig system alertaction event=watchdogasr execappath='/usr/sbin/om_alerts.sh'
以下错误结果:
错误!XML 转换失败。
OMSA Web GUI 不受此问题的影响。
Cause
OMSA 在使用 execappath 选项遇到正斜杠时出现 XML 解析器错误
Resolution
戴尔工程部门将在未来的 OSMA 版本中解决此问题。
同时,对路径使用反斜杠(例如:execappath='\usr\bin\om_alerts.sh')。
同时,对路径使用反斜杠(例如:execappath='\usr\bin\om_alerts.sh')。
Products
OpenManage Server AdministratorArticle Properties
Article Number: 000201265
Article Type: Solution
Last Modified: 14 Aug 2025
Version: 2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.