private void tryAlert(BlackcatProcessReq req) {
    boolean hasAlert = false;
    StrBuilder alert = str('\n').p(req.getHostname());

    for (ConfigProcess confProcess : configProcesses) {
      List<String> hostnames = confProcess.getHostnames();
      if (!hostnames.contains(req.getHostname())) continue;

      List<String> names = req.getNames();
      String processName = confProcess.getProcessName();
      if (names.contains(processName)) continue;

      hasAlert = true;
      alert.p("进程").p(confProcess.getProcessName()).p("不存在").p('\n');
    }

    if (!hasAlert) return;

    msgHandler.times.add(req.getHostname() + WxMsgJob.PROCESS_ALERTS);
    msgService.sendMsg("服务器进程告警", alert.toString());
  }