ipmcget -t syslog -d state
更新时间: 2026/07/16
在Gitcode上查看源码

ipmcget -t syslog -d state

返回总览 | 返回命令索引

命令功能

查询系统日志启用状态

命令格式

text
ipmcget -t syslog -d state [-v destination]

参数说明

NameLocationTypeRequiredDefaultConstraintDescription
destinationReqBodyinteger-[{"Type": "Range", "Formula": [1, 4]}]-

响应/输出说明

NameLocationTypeRequiredDefaultConstraintDescription
destinationRspBody----
enabled_syslogRspBody----
enabled_serverRspBody----

后端处理流

StepTypePath/URIInterfaceField/MethodSourceDestination
1Property/bmc/kepler/Managers/1/Syslogbmc.kepler.Managers.Syslog--{"Enabled": "Enabled"}
2Property/bmc/kepler/Managers/1/Syslog/Servers/${ReqBody/destination}bmc.kepler.Managers.Syslog.Server--{"Enabled": "Enabled"}

使用示例

text
ipmcget -t syslog -d state [-v destination]

输出样例

ScenarioOutputSource
其他syslog state : enabledinterface_config/cli/echoes/ipmcget/syslog_state
其他syslog state : disabledinterface_config/cli/echoes/ipmcget/syslog_state

来源信息

ItemValue
命令类型ipmcget
targetsyslog
dataitemstate
URI/cli/v1/syslog/state
Interface TypeGet
配置来源interface_config/cli/ipmcget/syslog.json
请求版本26.06_2026.06.30
源码提交5606349e
生成时间2026-07-16T01:48:37