docs: public void doOnekeyAddMonitor(@Param("pipelineId") Long pipelineId, Navigator nav) throws Exception {
          List<AlarmRule> existRules = alarmRuleService.getAlarmRules(pipelineId);
          if (!existRules.isEmpty()) {
              nav.redirectToLocation("alarmRuleList.htm?pipelineId=" + pipelineId);
              return;
          }
  
          SystemParameter systemParameter = systemParameterService.find();
          AlarmRule alarmRule = new AlarmRule();
          alarmRule.setPipelineId(pipelineId);
          alarmRule.setDescription("one key added!");
          alarmRule.setAutoRecovery(Boolean.FALSE);
          alarmRule.setReceiverKey(systemParameter.getDefaultAlarmReceiveKey());
          alarmRule.setStatus(AlarmRuleStatus.DISABLE);
          alarmRule.setRecoveryThresold(3);
          alarmRule.setIntervalTime(1800L);
  
          try {
              alarmRule.setMonitorName(MonitorName.EXCEPTION);
              alarmRule.setMatchValue("ERROR,EXCEPTION");
              alarmRule.setIntervalTime(1800L);
              alarmRule.setAutoRecovery(false);
              alarmRule.setRecoveryThresold(2);
              alarmRuleService.create(alarmRule);
              alarmRule.setMonitorName(MonitorName.POSITIONTIMEOUT);
              alarmRule.setMatchValue("600");
              alarmRule.setIntervalTime(1800L);
              alarmRule.setAutoRecovery(true);
              alarmRule.setRecoveryThresold(0);
              alarmRuleService.create(alarmRule);
              alarmRule.setMonitorName(MonitorName.DELAYTIME);
              alarmRule.setMatchValue("600");
              alarmRule.setIntervalTime(1800L);
              alarmRule.setAutoRecovery(false);
              alarmRule.setRecoveryThresold(2);
              alarmRuleService.create(alarmRule);
              alarmRule.setMonitorName(MonitorName.PROCESSTIMEOUT);
              alarmRule.setMatchValue("60");
              alarmRule.setIntervalTime(1800L);
              alarmRule.setAutoRecovery(true);
              alarmRule.setRecoveryThresold(2);
              alarmRuleService.create(alarmRule);
              // alarmRule.setMonitorName(MonitorName.PIPELINETIMEOUT);
              // alarmRule.setMatchValue("43200");
              // alarmRuleService.create(alarmRule);
          } catch (Exception e) {
              return;
          }
          nav.redirectToLocation("alarmRuleList.htm?pipelineId=" + pipelineId);
      }