microsoft/CSS-Exchange

[Feature Request] basic storage health checks for Healthchecker.ps1

Open

#1,379 建立於 2022年12月15日

在 GitHub 查看
 (0 留言) (0 反應) (1 負責人)PowerShell (985 star) (234 fork)batch import
Health CheckerNeed InvestigationNew Feature/CheckTriagegood first issuehelp wanted

描述

Is your request related to a problem? Please describe. A clear and concise description of what the problem is and the results it had on the environment.

given all the ways that storage issues can impact exchange service functionality it might make sense to implement some basic/quick storage health checks in the Healthchecker.ps1 script

Describe The Request A clear and concise description of the feature to add to a current tool or a new tool with what we all want to be checking with examples.

some basic checks that might be useful for heading off service outages

  • X% disk space free on any storage volume with mail queue
  • X% disk space free on any storage volume with a mailbox database or logs
  • X% disk space free on any storage volume with IIS logs

maybe some more optimization type checks along the lines of

  • X days of IIS/OWA related logs are present (maybe consider deletion after Y days0
  • N older OWA versions are present on a CAS server (maybe flag all versions that are now obsolete and can be deleted)

it might make sense to have a dedicated storage management script that could actually help with cleaning up exchange related volumes

  • log files older than X days
  • deleting older OWA versions no longer in use
  • flagging possible cruft files (e.g. old .RAW files, old databases or logs no longer in the active site configuration)

Additional context Add any other context or screenshots about the feature request here.

exchange servers can fail hard if storage gets exhausted and while there is no replacement for active monitoring, incorporating some basic checks that get scanned on each run of the healthchecker might be a way to flag some items before they get to a critical threshold

貢獻者指南

[Feature Request] basic storage health checks for Healthchecker.ps1 · microsoft/CSS-Exchange#1379 | Good First Issue