From 90b32f8f2fa79e2f28f980830e2ce8d9b1e5a9b6 Mon Sep 17 00:00:00 2001 From: "Jesse Huang (from Dev Box)" Date: Tue, 30 Jun 2026 19:08:58 -0700 Subject: [PATCH 1/2] Hub tsg: correct monagenthost log path --- TSG/Hub/Hub-Admin-Portal-Empty-Capacity-Display.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TSG/Hub/Hub-Admin-Portal-Empty-Capacity-Display.md b/TSG/Hub/Hub-Admin-Portal-Empty-Capacity-Display.md index de2fb37b..c8815f5e 100644 --- a/TSG/Hub/Hub-Admin-Portal-Empty-Capacity-Display.md +++ b/TSG/Hub/Hub-Admin-Portal-Empty-Capacity-Display.md @@ -30,7 +30,7 @@ In the Azure Stack Hub Admin Portal under Infrastructure -> Capacity, Physical M Storage Capacity will show zeroes. ![emptyportal.png](./images/emptyportal.png) -In `C:\Monitoring\agent\Logs\MonAgentHost*.log` (and the MA event-table dumps) you will see this +In `C:\Monitoring\data\MonAgentHost*.log` (and the MA event-table dumps) you will see this error repeating every few seconds, with the agent restarting each time: ``` @@ -723,7 +723,7 @@ Invoke-Command -ComputerName $node -ScriptBlock { Select-Object Name, Id, StartTime # The fatal config error should no longer appear after the fix timestamp. - $log = Get-ChildItem 'C:\Monitoring\agent\Logs\MonAgentHost*.log' -ErrorAction SilentlyContinue | + $log = Get-ChildItem 'C:\Monitoring\data\MonAgentHost*.log' -ErrorAction SilentlyContinue | Sort-Object LastWriteTime -Descending | Select-Object -First 1 if ($log) { Select-String -LiteralPath $log.FullName -Pattern 'Cannot define an event multiple times' | From 98e8709e0306d95aa45f6375c9146cbeea53607d Mon Sep 17 00:00:00 2001 From: "Jesse Huang (from Dev Box)" Date: Tue, 30 Jun 2026 19:11:32 -0700 Subject: [PATCH 2/2] correct path --- TSG/Hub/Hub-Admin-Portal-Empty-Capacity-Display.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TSG/Hub/Hub-Admin-Portal-Empty-Capacity-Display.md b/TSG/Hub/Hub-Admin-Portal-Empty-Capacity-Display.md index c8815f5e..a7d8a65e 100644 --- a/TSG/Hub/Hub-Admin-Portal-Empty-Capacity-Display.md +++ b/TSG/Hub/Hub-Admin-Portal-Empty-Capacity-Display.md @@ -30,7 +30,7 @@ In the Azure Stack Hub Admin Portal under Infrastructure -> Capacity, Physical M Storage Capacity will show zeroes. ![emptyportal.png](./images/emptyportal.png) -In `C:\Monitoring\data\MonAgentHost*.log` (and the MA event-table dumps) you will see this +In `C:\Monitoring\data\Configuration\MonAgentHost*.log` (and the MA event-table dumps) you will see this error repeating every few seconds, with the agent restarting each time: ``` @@ -723,7 +723,7 @@ Invoke-Command -ComputerName $node -ScriptBlock { Select-Object Name, Id, StartTime # The fatal config error should no longer appear after the fix timestamp. - $log = Get-ChildItem 'C:\Monitoring\data\MonAgentHost*.log' -ErrorAction SilentlyContinue | + $log = Get-ChildItem 'C:\Monitoring\data\Configuration\MonAgentHost*.log' -ErrorAction SilentlyContinue | Sort-Object LastWriteTime -Descending | Select-Object -First 1 if ($log) { Select-String -LiteralPath $log.FullName -Pattern 'Cannot define an event multiple times' |