blob: d939eb047bd536b9970ef07ee5d08e35701423a8 [file] [log] [blame]
Zack Williams41513bf2018-07-07 20:08:35 -07001<!--
2Copyright 2017-present Open Networking Foundation
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15-->
Stephane Barbarie3eab2bb2017-04-24 15:04:23 -040016<events xmlns="http://xmlns.opennms.org/xsd/eventconf">
17 <!-- output events: Linux -->
18 <event>
19 <uei>uei.opennms.org/vendor/voltha/alarmRaised</uei>
20 <event-label>vOLT-HA - Alarm Raised Event</event-label>
21 <descr>
22 AlarmId: %parm[AlarmId]%&lt;br/&gt;
23 ResourceId: %parm[ResourceId]%&lt;br/&gt;
24 Description: %parm[Description]%&lt;br/&gt;
25 Type: %parm[Type]%&lt;br/&gt;
26 Category: %parm[Category]%&lt;br/&gt;
27 State: %parm[State]%&lt;br/&gt;
28 Severity: %parm[Severity]%&lt;br/&gt;
29 RaisedTime: %parm[RaisedTime]%&lt;br/&gt;
30 ReportedTime: %parm[ReportedTime]%&lt;br/&gt;
31 ChangedTime: %parm[ChangedTime]%&lt;br/&gt;
32 Context: %parm[Context]%&lt;br/&gt;
33 </descr>
34 <logmsg dest='donotpersist'>
35 %parm[Description]%&lt;br/&gt;
36 Type: %parm[Type]%
37 </logmsg>
38 <severity>Warning</severity>
39 <operinstruct></operinstruct>
40 <alarm-data reduction-key="%uei%:%nodeid%:%parm[AlarmId]%:%parm[ResourceId]%:%parm[Type]%:%parm[Category]%" alarm-type="1" auto-clean="false">
41 <update-field field-name="severity" update-on-reduction="true"/>
42 </alarm-data>
43 </event>
44 <event>
45 <uei>uei.opennms.org/vendor/voltha/alarmRaisedCorrelated</uei>
46 <event-label>vOLT-HA - Alarm Raised and Correlated Event</event-label>
47 <descr>
48 AlarmId: %parm[AlarmId]%&lt;br/&gt;
49 ResourceId: %parm[ResourceId]%&lt;br/&gt;
50 Description: %parm[Description]%&lt;br/&gt;
51 Type: %parm[Type]%&lt;br/&gt;
52 Category: %parm[Category]%&lt;br/&gt;
53 State: %parm[State]%&lt;br/&gt;
54 Severity: %parm[Severity]%&lt;br/&gt;
55 RaisedTime: %parm[RaisedTime]%&lt;br/&gt;
56 ReportedTime: %parm[ReportedTime]%&lt;br/&gt;
57 ChangedTime: %parm[ChangedTime]%&lt;br/&gt;
58 Context: %parm[Context]%&lt;br/&gt;
59 </descr>
60 <logmsg dest='logndisplay'>
61 %parm[Description]%&lt;br/&gt;
62 Type: %parm[Type]%
63 </logmsg>
64 <severity>Warning</severity>
65 <operinstruct></operinstruct>
66 <alarm-data reduction-key="%uei%:%nodeid%:%parm[AlarmId]%:%parm[ResourceId]%:%parm[Type]%:%parm[Category]%" alarm-type="1" auto-clean="false">
67 <update-field field-name="severity" update-on-reduction="true"/>
68 </alarm-data>
69 </event>
70 <event>
71 <uei>uei.opennms.org/vendor/voltha/alarmCleared</uei>
72 <event-label>vOLT-HA - Alarm Cleared Event</event-label>
73 <descr>
74 AlarmId: %parm[AlarmId]%&lt;br/&gt;
75 ResourceId: %parm[ResourceId]%&lt;br/&gt;
76 Description: %parm[Description]%&lt;br/&gt;
77 Type: %parm[Type]%&lt;br/&gt;
78 Category: %parm[Category]%&lt;br/&gt;
79 State: %parm[State]%&lt;br/&gt;
80 Severity: %parm[Severity]%&lt;br/&gt;
81 RaisedTime: %parm[RaisedTime]%&lt;br/&gt;
82 ReportedTime: %parm[ReportedTime]%&lt;br/&gt;
83 ChangedTime: %parm[ChangedTime]%&lt;br/&gt;
84 Context: %parm[Context]%&lt;br/&gt;
85 </descr>
86 <logmsg dest='donotpersist'>
87 %parm[Description]%&lt;br/&gt;
88 Type: %parm[Type]%
89 </logmsg>
90 <severity>Normal</severity>
91 <operinstruct></operinstruct>
92 <alarm-data reduction-key="%uei%:%nodeid%:%parm[AlarmId]%:%parm[ResourceId]%:%parm[Type]%:%parm[Category]%"
93 alarm-type="2"
94 clear-key="uei.opennms.org/vendor/voltha/alarmRaised:%nodeid%:%parm[AlarmId]%:%parm[ResourceId]%:%parm[Type]%:%parm[Category]%"
95 auto-clean="true">
96 <update-field field-name="severity" update-on-reduction="true"/>
97 </alarm-data>
98 </event>
99 <event>
100 <uei>uei.opennms.org/vendor/voltha/alarmClearedCorrelated</uei>
101 <event-label>vOLT-HA - Alarm Cleared and Correlated Event</event-label>
102 <descr>
103 AlarmId: %parm[AlarmId]%&lt;br/&gt;
104 ResourceId: %parm[ResourceId]%&lt;br/&gt;
105 Description: %parm[Description]%&lt;br/&gt;
106 Type: %parm[Type]%&lt;br/&gt;
107 Category: %parm[Category]%&lt;br/&gt;
108 State: %parm[State]%&lt;br/&gt;
109 Severity: %parm[Severity]%&lt;br/&gt;
110 RaisedTime: %parm[RaisedTime]%&lt;br/&gt;
111 ReportedTime: %parm[ReportedTime]%&lt;br/&gt;
112 ChangedTime: %parm[ChangedTime]%&lt;br/&gt;
113 Context: %parm[Context]%&lt;br/&gt;
114 </descr>
115 <logmsg dest='logndisplay'>
116 %parm[Description]%&lt;br/&gt;
117 Type: %parm[Type]%
118 </logmsg>
119 <severity>Normal</severity>
120 <operinstruct></operinstruct>
121 <alarm-data reduction-key="%uei%:%nodeid%:%parm[AlarmId]%:%parm[ResourceId]%:%parm[Type]%:%parm[Category]%"
122 alarm-type="2"
123 clear-key="uei.opennms.org/vendor/voltha/alarmRaisedCorrelated:%nodeid%:%parm[AlarmId]%:%parm[ResourceId]%:%parm[Type]%:%parm[Category]%"
124 auto-clean="true">
125 <update-field field-name="severity" update-on-reduction="true"/>
126 </alarm-data>
127 </event>
128</events>