1 /*******************************************************************************
2 ################################################################################
3 # Copyright (c) [2020] [HCL Technologies Ltd.] #
5 # Licensed under the Apache License, Version 2.0 (the "License"); #
6 # you may not use this file except in compliance with the License. #
7 # You may obtain a copy of the License at #
9 # http://www.apache.org/licenses/LICENSE-2.0 #
11 # Unless required by applicable law or agreed to in writing, software #
12 # distributed under the License is distributed on an "AS IS" BASIS, #
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
14 # See the License for the specific language governing permissions and #
15 # limitations under the License. #
16 ################################################################################
17 *******************************************************************************/
19 /* This file contains definitions of Alarm structure */
25 #define ALRM_ID_SIZE 10
26 #define OBJ_INST_SIZE 15
28 #define DATE_TIME_SIZE 30
42 COMMUNICATIONS_ALARM = 2,
43 QUALITY_OF_SERVICE_ALARM = 3,
44 PROCESSING_ERROR_ALARM = 4,
46 ENVIRONMENTAL_ALARM = 6,
47 INTEGRITY_VIOLATION = 7,
48 OPERATIONAL_VIOLATION = 8,
49 PHYSICAL_VIOLATION = 9,
50 SECURITY_SERVICE_OR_MECHANISM_VIOLATION = 10,
51 TIME_DOMAIN_VIOLATION = 11
69 char objectClassObjectInstance[OBJ_INST_SIZE];
70 char alarmId[ALRM_ID_SIZE];
71 char alarmRaiseTime[DATE_TIME_SIZE];
72 char alarmChangeTime[DATE_TIME_SIZE];
73 char alarmClearTime[DATE_TIME_SIZE];
74 char probableCause[TEXT_SIZE];
75 SeverityLevel perceivedSeverity;
76 char rootCauseIndicator[TEXT_SIZE];
77 char additionalText[TEXT_SIZE];
78 char additionalInfo[TEXT_SIZE];
79 char specificProblem[TEXT_SIZE];
84 /**********************************************************************
86 **********************************************************************/