@@ -2,6 +2,10 @@ module events-host {
22 namespace "http://github.com/sonic-net/sonic-events-host" ;
33 yang-version 1.1 ;
44
5+ import openconfig-alarm-types {
6+ prefix oc-alarm-types;
7+ }
8+
59 import sonic-events-common {
610 prefix evtcmn;
711 }
@@ -10,6 +14,8 @@ module events-host {
1014 }
1115
1216 container disk-usage {
17+ oc-alarm-types:MINOR
18+
1319 description "
1420 Declares an event for disk usage crossing set limit
1521 The parameters describe the usage & limit set." ;
@@ -26,6 +32,8 @@ module events-host {
2632 }
2733
2834 container memory-usage {
35+ oc-alarm-types:MINOR
36+
2937 description "
3038 Declares an event for memory usage crossing set limit
3139 The parameters describe the usage & limit set." ;
@@ -36,6 +44,8 @@ module events-host {
3644 }
3745
3846 container event-sshd {
47+ oc-alarm-types:MINOR
48+
3949 description "
4050 Declares an event reported by sshd.
4151 The fail type declares the type of failure.
@@ -53,6 +63,8 @@ module events-host {
5363 }
5464
5565 container event-disk {
66+ oc-alarm-types:MINOR
67+
5668 description "
5769 Declares an event reported by disk check.
5870 The fail type declares the type of failure.
@@ -69,6 +81,8 @@ module events-host {
6981 }
7082
7183 container event-kernel {
84+ oc-alarm-types:MINOR
85+
7286 description "
7387 Declares an event reported by kernel.
7488 The fail type declares the type of failure." ;
@@ -95,6 +109,8 @@ module events-host {
95109 }
96110
97111 container event-monit-proc {
112+ evtcmn:severity "2"
113+
98114 description "
99115 Declares an event reported by monit for a process
100116 that is not running.
@@ -119,6 +135,8 @@ module events-host {
119135 }
120136
121137 container event-monit-status {
138+ evtcmn:severity "2"
139+
122140 description "
123141 Declares an event reported by monit for status check
124142 failure for a process
@@ -149,6 +167,8 @@ module events-host {
149167 }
150168
151169 container event-platform {
170+ evtcmn:severity "2"
171+
152172 description "
153173 Declares an event for platform related failure.
154174 Params:
0 commit comments