-- MariaDB dump 10.19  Distrib 10.6.16-MariaDB, for debian-linux-gnu (x86_64)
--
-- Host: 192.168.2.219    Database: omc_db
-- ------------------------------------------------------
-- Server version	10.3.38-MariaDB

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `alarm_define`
--

DROP TABLE IF EXISTS `alarm_define`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `alarm_define` (
  `alarm_id` varchar(32) NOT NULL,
  `alarm_code` int(11) DEFAULT NULL,
  `alarm_title_cn` varchar(255) DEFAULT NULL,
  `alarm_title` varchar(255) DEFAULT NULL,
  `ne_type` varchar(32) DEFAULT NULL,
  `alarm_type` varchar(64) DEFAULT '',
  `orig_severity` enum('Critical','Major','Minor','Warning','Event') DEFAULT 'Warning' COMMENT 'Critical, Major, Minor, Warning, Event(Only VNF)',
  `object_uid` varchar(28) DEFAULT NULL,
  `object_name` varchar(64) DEFAULT '0',
  `object_type` varchar(20) DEFAULT NULL,
  `location_info` varchar(255) DEFAULT NULL,
  `specific_problem` varchar(255) DEFAULT NULL,
  `specific_problem_id` varchar(32) DEFAULT NULL,
  `add_info` varchar(255) DEFAULT NULL,
  `threshold` bigint(20) DEFAULT NULL,
  `status` enum('Inactive','Active') DEFAULT 'Active',
  PRIMARY KEY (`alarm_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `alarm_define`
--

LOCK TABLES `alarm_define` WRITE;
/*!40000 ALTER TABLE `alarm_define` DISABLE KEYS */;
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'),('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'),('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'),('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'),('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'),('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');
/*!40000 ALTER TABLE `alarm_define` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2024-03-06 17:27:01
