Support eventdb to record reported alarms#5
Conversation
Improvements:
|
|
@jjin62 For the description -> type-id mirror, there is a concern over here. If we do this, it will drop the severity field automatically since they are using the same type-id's severity. Attached my experiment:
I tried to raise a CRITICAL alarm, but finally it used |
|
7c6e83b to
6e94484
Compare
|
Try to use sonic-event.yang to generate command lines. Right now they are working. https://github.com/sonic-molex/sonic-swss only supports events nor alarms.(Out of Gain Range is not a good demo case. Eventdb will treat event with action syslog as an alarm.)
|
Support sonic-event.yang CLI generation in yang_auto_cli.sh
6e94484 to
ad1948e
Compare
Open questions:
|
Why I did it
Work item tracking
How I did it
sonic-buildimage/device/molex/x86_64-otn-kvm_x86_64-r0/default.jsonsonic-eventd-otn-profiledebian package to apply device level alarm list.sonic-eventd-otn-profilewill copy ONIE_PLATFORM alarm list and syslog plugin to eventd.Architecture
Bug fix and changes