通过ipmi命令模拟告警产生与清除时,EventId产生、清除再产生,并没有递增,并且清除告警时级别与产生的告警级别不同。与官方文档不符,这个需要先进行什么设置么?
固件版本
1.30.31 HDM V100R001B03D031
设置列表
对齐方式
产生:
{"@odata.context":"/redfish/v1/$metadata#Event.Event","@odata.id":"/redfish/v1/EventService/Events/119","@odata.type":"#Event.v1_2_1.Event","Context":"event subscription context string","Events":[{"EventId":"0x07AB0000","EventTimestamp":"2021-07-27T17:07:39+08:00","EventType":"Alert","MemberId":"0x07AB0000","Message":"CPU1_Status(Processor): Machine check exception","MessageArgs":[],"MessageId":"EventLog.1.0.0.Alert","Oem":{"Public":{"addInfo":"","alarmStatus":1,"locationInfo":"CPU1_Status","neName":"","neType":"Server","neUID":"210235A2CR6206xxxx","objectName":"CPU1_Status","objectType":"Processor","objectUID":"","specificProblem":"","specificProblemID":""}},"OriginOfCondition":{"@odata.id":"/redfish/v1/Systems/1/Processors"},"Severity":"Critical"}],"Events@odata.count":1,"Id":"119","Name":"Event Array"}
清除:{"@odata.context":"/redfish/v1/$metadata#Event.Event","@odata.id":"/redfish/v1/EventService/Events/120","@odata.type":"#Event.v1_2_1.Event","Context":"event subscription context string","Events":[{"EventId":"0x07AB0000","EventTimestamp":"2021-07-27T17:11:25+08:00","EventType":"Alert","MemberId":"0x07AB0000","Message":"CPU1_Status(Processor): Machine check exception","MessageArgs":[],"MessageId":"EventLog.1.0.0.Alert","Oem":{"Public":{"addInfo":"","alarmStatus":0,"locationInfo":"CPU1_Status","neName":"","neType":"Server","neUID":"210235A2CR6xxxx","objectName":"CPU1_Status","objectType":"Processor","objectUID":"","specificProblem":"","specificProblemID":""}},"OriginOfCondition":{"@odata.id":"/redfish/v1/Systems/1/Processors"},"Severity":"Info"}],"Events@odata.count":1,"Id":"120","Name":"Event Array"}
再次产生、清除相同告警:
{"@odata.context":"/redfish/v1/$metadata#Event.Event","@odata.id":"/redfish/v1/EventService/Events/121","@odata.type":"#Event.v1_2_1.Event","Context":"event subscription context string","Events":[{"EventId":"0x07AB0000","EventTimestamp":"2021-07-27T17:14:29+08:00","EventType":"Alert","MemberId":"0x07AB0000","Message":"CPU1_Status(Processor): Machine check exception","MessageArgs":[],"MessageId":"EventLog.1.0.0.Alert","Oem":{"Public":{"addInfo":"","alarmStatus":1,"locationInfo":"CPU1_Status","neName":"","neType":"Server","neUID":"210235A2CR6206xxxx","objectName":"CPU1_Status","objectType":"Processor","objectUID":"","specificProblem":"","specificProblemID":""}},"OriginOfCondition":{"@odata.id":"/redfish/v1/Systems/1/Processors"},"Severity":"Critical"}],"Events@odata.count":1,"Id":"121","Name":"Event Array"} 2021-07-27 17:16:29,942 INFO [AlarmReportProcessor-Initpool-18-thread-1][ROOT][com.huawei.esight.servermgmtservice.fm.process.AlarmReportProcessor 242] start to handle redfish alarm,ip=182.120.3.64,alarmstr={"@odata.context":"/redfish/v1/$metadata#Event.Event","@odata.id":"/redfish/v1/EventService/Events/122","@odata.type":"#Event.v1_2_1.Event","Context":"event subscription context string","Events":[{"EventId":"0x07AB0000","EventTimestamp":"2021-07-27T17:16:34+08:00","EventType":"Alert","MemberId":"0x07AB0000","Message":"CPU1_Status(Processor): Machine check exception","MessageArgs":[],"MessageId":"EventLog.1.0.0.Alert","Oem":{"Public":{"addInfo":"","alarmStatus":0,"locationInfo":"CPU1_Status","neName":"","neType":"Server",,"objectName":"CPU1_Status","objectType":"Processor","objectUID":"","specificProblem":"","specificProblemID":""}},"OriginOfCondition":{"@odata.id":"/redfish/v1/Systems/1/Processors"},"Severity":"Info"}],"Events@odata.count":1,"Id":"122","Name":"Event Array"}
(0)
"alarmStatus":0,"对应"Severity":"Info"没问题啊,EventId这个值一般都会是十进制的数,至于为什么没有叠加,可能是手动触发的原因,咱们是通过什么ipmi命令触发的cpu报警啊,使用redfish收取的?
(0)
"alarmStatus":0,"对应"Severity":"Info"没问题啊 ///官方文档里写的是产生与清除级别是相同的,产生Critical ,消除级别也应该是Critical 吧
通过ipmi命令:触发: ipmitool.exe -I lanplus -H xxx -U admin -P xxxx raw 0x0a 0x44 0x00 0x00 0x02 0x10 0x11 0x12 0x13 0x20 0x00 0x04 0x07 0x31 0x6f 0xab 0x00 0x00
"alarmStatus":0,"对应"Severity":"Info"没问题啊 ///官方文档里写的是产生与清除级别是相同的,产生Critical ,消除级别也应该是Critical 吧
通过ipmi命令:触发: ipmitool.exe -I lanplus -H xxx -U admin -P xxxx raw 0x0a 0x44 0x00 0x00 0x02 0x10 0x11 0x12 0x13 0x20 0x00 0x04 0x07 0x31 0x6f 0xab 0x00 0x00
(0)
请教一下,0x07AB0000 这个事件号,是来源于哪里呢?
(0)
redfish 抓的这个 EventId specificProblemID 华三文档中有定义 吗?
redfish 抓的这个 EventId specificProblemID 华三文档中有定义 吗?
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明