microsoft / microsoft/CSS-Exchange
[Issue] - Health Checker wrong finding: dynamic memory detected
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 1.3k
- Forks
- 395
- Avg merge
- 14h 7m
- Merged PRs (30d)
- 5
Description
Provide Version Number
26.08.11.1651
Describe the issue
The script generates a wrong alert about dynamic memory:
Dynamic Memory Detected: True 0GB is the allowed dynamic memory of the server. Not supported to have dynamic memory configured.
Expected behavior
The alert should not be triggered if danymic memory is not activated
Script Output
Dynamic Memory Detected: True 0GB is the allowed dynamic memory of the server. Not supported to have dynamic memory configured.
Additional context
This block seems to handle the perf counter wrong:
if ($null -eq $counter) {
$params.Details = "Unknown - Required Counter Not Loaded. Missing Counter: $($counterName)"
$params.DisplayWriteType = "Yellow"
} elseif (($counter.CookedValue / 1024) -ne $totalPhysicalMemory -and
($counter.CookedValue / 1024) -ne $totalPhysicalMemoryNotRounded) { ...
Exchange is running on Hyper-V, Win 2019 Host with disabled dynamic memory.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the Health Checker script block that evaluates the dynamic-memory performance counter, using the reported "Dynamic Memory Detected" output and the counter logic in the issue as entry points. Reproduce the check on the described Hyper-V configuration, then verify that disabled dynamic memory does not trigger the alert while missing or genuinely enabled memory remains handled appropriately.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100