Files
be.ems/build/database/lite/common/alarm_define.sql
2025-03-19 17:42:31 +08:00

37 lines
2.5 KiB
SQL

-- ----------------------------
-- Table structure for alarm_define
-- ----------------------------
DROP TABLE IF EXISTS "alarm_define";
CREATE TABLE "alarm_define" (
"alarm_id" text(32) NOT NULL,
"alarm_code" integer(11),
"alarm_title_cn" text(255),
"alarm_title" text(255),
"ne_type" text(32),
"alarm_type" text(64),
"orig_severity" text(255),
"object_uid" text(28),
"object_name" text(64),
"object_type" text(20),
"location_info" text(255),
"specific_problem" text(255),
"specific_problem_id" text(32),
"add_info" text(255),
"threshold" integer(20),
"status" text(255),
PRIMARY KEY ("alarm_id")
);
-- ----------------------------
-- Records of alarm_define
-- ----------------------------
INSERT INTO "alarm_define" VALUES ('HXEMSCM10100', 10100, 'License即将过期', 'The license is about to expire', 'OMC', 'EnvironmentalAlarm', 'Warning', NULL, 'EMS;CM;License', 'CM', '', 'Alarm cause: the license expiration time is less than %d days', 'AC10100', '', 30, 'Active');
INSERT INTO "alarm_define" VALUES ('HXEMSPM10200', 10200, '性能越限', 'Performance exceeds the threshold', 'OMC', 'QualityOfServiceAlarm', 'Warning', NULL, 'EMS;PM', 'PM', '', 'Alarm cause: performance exceed threshold, alarm generate from omc', 'AC10200', '', NULL, 'Active');
INSERT INTO "alarm_define" VALUES ('HXEMSPM10201', 10201, '性能数据采集超时', 'Performance data report timed out', 'OMC', 'EquipmentAlarm', 'Minor', NULL, 'EMS;PM', 'PM', '', 'Alarm cause: performance data report timed out, period=%d(minutes), time delay=%d(minutes), alarm generate from omc', 'AC10201', '', NULL, 'Active');
INSERT INTO "alarm_define" VALUES ('HXEMSSM10000', 10000, '系统状态异常', 'The system state is abnormal', 'OMC', 'EquipmentAlarm', 'Major', NULL, 'EMS;SystemManagement;Heartbeat', 'SystemState', '', 'Alarm cause: the system state of target NE has not been received for %d seconds', 'AC10000', '', 30, 'Active');
INSERT INTO "alarm_define" VALUES ('HXEMSSM10001', 10001, 'CPU占用率越限', 'CPU usage exceeds the threshold', 'OMC', 'EnvironmentalAlarm', 'Minor', NULL, 'EMS;SystemManagement;Heartbeat', 'SystemState', '', 'Alarm cause: the CPU occupancy rate of the target NE exceeds %d', 'AC10001', '', 70, 'Active');
INSERT INTO "alarm_define" VALUES ('HXEMSSM10002', 10002, 'NTP时间同步失败', 'NTP Sync failure', 'OMC', 'EnvironmentalAlarm', 'Minor', NULL, 'EMS;SystemManagement;Heartbeat', 'SystemState', '', 'Alarm cause: the CPU occupancy rate of the target NE exceeds %d', 'AC10001', '', 70, 'Active');
-- Dump completed on 2024-03-06 17:27:01