Zack Williams | 41513bf | 2018-07-07 20:08:35 -0700 | [diff] [blame] | 1 | <!-- |
| 2 | Copyright 2017-present Open Networking Foundation |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
Stephane Barbarie | 3eab2bb | 2017-04-24 15:04:23 -0400 | [diff] [blame] | 16 | <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]%<br/> |
| 23 | ResourceId: %parm[ResourceId]%<br/> |
| 24 | Description: %parm[Description]%<br/> |
| 25 | Type: %parm[Type]%<br/> |
| 26 | Category: %parm[Category]%<br/> |
| 27 | State: %parm[State]%<br/> |
| 28 | Severity: %parm[Severity]%<br/> |
| 29 | RaisedTime: %parm[RaisedTime]%<br/> |
| 30 | ReportedTime: %parm[ReportedTime]%<br/> |
| 31 | ChangedTime: %parm[ChangedTime]%<br/> |
| 32 | Context: %parm[Context]%<br/> |
| 33 | </descr> |
| 34 | <logmsg dest='donotpersist'> |
| 35 | %parm[Description]%<br/> |
| 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]%<br/> |
| 49 | ResourceId: %parm[ResourceId]%<br/> |
| 50 | Description: %parm[Description]%<br/> |
| 51 | Type: %parm[Type]%<br/> |
| 52 | Category: %parm[Category]%<br/> |
| 53 | State: %parm[State]%<br/> |
| 54 | Severity: %parm[Severity]%<br/> |
| 55 | RaisedTime: %parm[RaisedTime]%<br/> |
| 56 | ReportedTime: %parm[ReportedTime]%<br/> |
| 57 | ChangedTime: %parm[ChangedTime]%<br/> |
| 58 | Context: %parm[Context]%<br/> |
| 59 | </descr> |
| 60 | <logmsg dest='logndisplay'> |
| 61 | %parm[Description]%<br/> |
| 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]%<br/> |
| 75 | ResourceId: %parm[ResourceId]%<br/> |
| 76 | Description: %parm[Description]%<br/> |
| 77 | Type: %parm[Type]%<br/> |
| 78 | Category: %parm[Category]%<br/> |
| 79 | State: %parm[State]%<br/> |
| 80 | Severity: %parm[Severity]%<br/> |
| 81 | RaisedTime: %parm[RaisedTime]%<br/> |
| 82 | ReportedTime: %parm[ReportedTime]%<br/> |
| 83 | ChangedTime: %parm[ChangedTime]%<br/> |
| 84 | Context: %parm[Context]%<br/> |
| 85 | </descr> |
| 86 | <logmsg dest='donotpersist'> |
| 87 | %parm[Description]%<br/> |
| 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]%<br/> |
| 104 | ResourceId: %parm[ResourceId]%<br/> |
| 105 | Description: %parm[Description]%<br/> |
| 106 | Type: %parm[Type]%<br/> |
| 107 | Category: %parm[Category]%<br/> |
| 108 | State: %parm[State]%<br/> |
| 109 | Severity: %parm[Severity]%<br/> |
| 110 | RaisedTime: %parm[RaisedTime]%<br/> |
| 111 | ReportedTime: %parm[ReportedTime]%<br/> |
| 112 | ChangedTime: %parm[ChangedTime]%<br/> |
| 113 | Context: %parm[Context]%<br/> |
| 114 | </descr> |
| 115 | <logmsg dest='logndisplay'> |
| 116 | %parm[Description]%<br/> |
| 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> |