You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/event-alarm-framework/event-alarm-framework.md
+10-10
Original file line number
Diff line number
Diff line change
@@ -37,8 +37,7 @@ Event and Alarm Framework
37
37
*[3.1.8 Pull Model](#318-pull-model)
38
38
*[3.1.9 Supporting third party containers](#319-supporting-third-party-containers)
39
39
*[3.2 DB Changes](#32-db-changes)
40
-
*[3.2.1 STATE DB](#321-state-db)
41
-
*[3.2.2 APPL DB](#322-appl-db)
40
+
*[3.2.1 EVENT DB](#321-event-db)
42
41
*[3.3 User Interface](#33-user-interface)
43
42
*[3.3.1 Data Models](#331-data-models)
44
43
*[3.3.2 CLI](#332-cli)
@@ -100,9 +99,9 @@ Such a change has an important metric called *severity* to indicate how critical
100
99
An operator could *ACKNOWLEDGE/UNACKNOWLEDGE* an alarm. This indicates that the operator is aware of the faulty condition.
101
100
102
101
The set of alarms and their severities are an indication to health of various applications of the system and System LED can be deduced from alarms.
103
-
An acknowledged alarm means that operator is aware of the condition so, acknowledged alarm should be taken out of consideration from deciding system LED state.
102
+
An acknowledged alarm means that operator is aware of the condition so, acknowledged alarm will be taken out of consideration.
104
103
105
-
Both events and alarms get recorded in the STATE_DB.
104
+
Both events and alarms get recorded in a new DB called EVENT DB in a new redis instance.
106
105
107
106
1. Event History Table
108
107
@@ -836,13 +835,14 @@ and are being evaluated.
836
835
Approach 1 is preferred.
837
836
838
837
## 3.2 DB Changes
839
-
### 3.2.1 STATE DB
838
+
### 3.2.1 EVENT DB
839
+
A new instance, redis4, is created and EVENT DB uses the new instance.
840
+
The following tables uses Event DB.
840
841
Table EVENTPUBSUB is used for applications to write events and for eventd to access and process them.
841
-
Four other new tables are introduced.
842
-
Event History Table (EVENT) and Current Alarm Table (ALARM).
843
-
To maintain various statistics of events, these two are introduced : EVENT_STATS and ALARM_STATS.
844
-
### 3.2.2 APPL DB
845
-
Application DB is used to house EVPROFILE table to communicate name of the custom event profile when configured through NBI.
842
+
Event History Table (EVENT) and Current Alarm Table (ALARM) are used to house events and alarms respectively.
843
+
To maintain various statistics of events, these two tables are used : EVENT_STATS and ALARM_STATS.
844
+
845
+
EVPROFILE table is used by mgmt-framework to communicate name of the custom event profile when configured through NBI.
846
846
Eventd reads the file name from this table and merges it with its static_event_map.
0 commit comments