跳至主要内容

Workspace設定

僅供經銷商技術顧問具備 MCB 維運人員具操作權限者

以維運人員身分登入 MCB Monitor Portal

1.設定 MCB Monitor 應用程式服務端資料來源

  • 請先向 MCB Poratl Admin 確定您擁有管理 MCB Monitor Portal 的 Admin 權限
  • 登入 MCB Monitor Portal,切換到用戶所分配的 Org Id
  • 點選 MCB Monitor Portal 左側 Configuration 選擇新增 Data Source
  • 在搜尋處輸入 Azure Monitor
  • 選擇 Azure Monitor 之後,在 Azure Monitor Details 輸入前述程序紀錄的下列資訊
  • Directory (tenant) ID
  • Application (client) ID
  • Client secret
  • 按下 Load Subscriptions,選擇您要納管監控的 Subscription ID (一個 Monitor Data Source 對應一個 Subscription ID)
  • 在 Azure Log Analytics API Details 資訊處
  • 關閉 Same details as Azure Monitor API 按鈕
  • 再次輸入 Directory (tenant) ID
  • Application (client) ID
  • Client secret
  • 按下 Load Subscriptions,選擇您要納管監控的 Subscription ID
  • 按下 Load Workspaces
  • 會自動帶出先前在用戶端建立的 Workspace
  • 按下 Save & Test ,出現成功訊息即完成設定
  • 選擇 Back 離開

2.匯入基本儀錶板

  • 點選 MCB Monitor Portal 左側 + 號,Create > Import 如下 ID
  • Microsoft Azure Storage: 9962
  • Azure Virtual Machine: 10532
  • Azure Service Bus: 10533
  • Azure Redis: 10534
  • Azure PostgreSQL: 10535
  • Azure MySQL: 10536
  • Azure MongoDB: 10537
  • Azure Event Hub: 10538
  • DocumentDB / Cosmos DB: 10539
  • Azure Data Lake Store Account: 10540
  • Data factory factories: 10541
  • Azure Monitor for Containers - Metrics: 10956
  • AKS Container Insights: 12180
  • Azure Windows Virtual Desktop Overview:12636
  • AKS Monitor Container: 12817
  • Azure Network Policy Dashboard based on Azure Monitor: 13102

3.匯入MCB進階儀錶板

進階儀錶板會使用客製化指標,需確定 VM 使用 ExistingVmOnboardingTemplate.json 納管指定的 VM 啟用 Agent 監控 可參考監控告警章節由此處進入

4.(Option) 設定 MCB Monitor Alert 轉發功能整合至 MCB 事件中心

  • 點選 MCB Monitor Portal 左側 Alerting > Notification Channels
  • Add Channel
  • Name: 任意名稱
  • Type 選擇 webhook
  • Url 填入前述在用戶端執行部署所回傳的 logicAppUrl
  • Notification settings 資訊處,可選擇勾選 Default, Include image, Send reminders
  • Save