영어로 읽기

다음을 통해 공유


주문형 평가의 권장 무시

무시하려는 권장 사항이 있는 경우 Azure Monitor에서 평가 결과에 권장 사항이 표시되는 것을 방지하는 데 사용할 텍스트 파일을 만들 수 있습니다.

무시할 권장 사항 식별

Azure 포털의 Azure Monitor 메뉴에서 로그를 선택하여 로그 분석을 사용하여 쿼리를 만들고 Azure Monitor에서 로그 데이터를 분석합니다.

다음 쿼리를 사용하여 환경에 있는 컴퓨터에서 실패한 권장을 목록으로 표시합니다.

첫 번째 명령을 실행 중인 평가의 실제 이름으로 바꿉니다.

WindowsClientAssessmentRecommendation | where RecommendationResult == "Failed"

ADAssessmentRecommendation | where RecommendationResult == "Failed"

ADSecurityAssessmentRecommendation | where RecommendationResult == "Failed"

SCCMAssessmentRecommendation | where RecommendationResult == "Failed"

주어진 평가에 대한 모든 권장 사항을 가져오는 Kusto 쿼리입니다.

무시할 권장 사항을 선택하고 추천ID 값을 기록합니다. 다음 단계에서는 이러한 RecommendationId 값을 사용해야 합니다.

IgnoreRecommendations.txt 텍스트 파일을 만들어 사용하기

  1. 이름이 IgnoreRecommendations.txt인 파일을 만듭니다.

  2. Azure Monitor가 별도의 라인에서 무시하기를 원하는 각 권장의 RecommendationId를 붙여 넣거나 입력하고 저장한 후 파일을 닫습니다.

  3. Azure Monitor가 권장을 무시하기를 원하는 각 컴퓨터에서 평가의 출력 디렉터리에 파일을 넣습니다.

    Working Directory\Assessment 폴더

    IgnoreRecommendations.txt 파일을 배치해야 하는 파일입니다.

권장이 무시되는지 확인하기

다음 예약된 상태 검사가 실행된 후(기본적으로 7일마다) 지정된 권장 사항이 대시보드에 무시됨으로 표시됩니다.

  1. 다음 로그 쿼리를 사용하여 무시된 모든 권장을 나열할 수 있습니다.

    첫 번째 명령을 실행 중인 평가의 실제 이름으로 바꿉니다.

    WindowsClientAssessmentRecommendation | where RecommendationResult == "Ignored"
    
    ADAssessmentRecommendation | where RecommendationResult == "Ignored"
    
    ADSecurityAssessmentRecommendation | where RecommendationResult == "Ignored"
    
    SCCMAssessmentRecommendation | where RecommendationResult == "Ignored"
    
  2. 나중에 무시된 권장을 보려면 IgnoreRecommendations.txt 파일을 제거하거나, 이 파일에서 RecommendationID를 제거합니다.

참고 권장 사항 무시는 필수 구성 요소가 아닌 권장 사항에만 적용됩니다.