7.6 KiB
Overrides
Dienstag, 12. April 2016
18:46
Die Monitoring Parameter anpassen tut man mit Override Befehle
Einmal Globale, welche im AD abgelegt werden und für alle Exchange Server gelten
Und lokale, welche in der Registry abgelegt werden und nur für diesen Server gelten
Lokale. Das Verzeichnis Override wird erst bei ersten Befehl erstellt
{width="10.0in" height="5.072916666666667in"}
Im AD liegen sie unter
CN=Overrides,CN=Monitoring Settings,CN=funMail,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=FUN,DC=PEC
{width="11.739583333333334in" height="5.53125in"}
Version heraus finden
Get-ExchangeServer | ft name,admindisplayversion
{width="7.5in" height="0.90625in"}
Lokale setzen (Threshold auf 10 GB gesetzt)
Add-ServerMonitoringOverride -server PECXMXP01a -Item Monitor -Identity MailboxSpace\StorageLogicalDriveSpaceMonitor -PropertyName MonitoringThreshold -PropertyValue 10240 -ApplyVersion 15.1.396.30
Remove-ServerMonitoringOverride -server PECXMXP01a -Item Monitor -Identity MailboxSpace\StorageLogicalDriveSpaceMonitor -PropertyName MonitoringThreshold
Globale setzen
Add-GlobalMonitoringOverride -Item Monitor --Identity MailboxSpace\StorageLogicalDriveSpaceMonitor -PropertyName MonitoringThreshold -PropertyValue 10240 -ApplyVersion 15.1.396.30
Remove-GlobalMonitoringOverride -Item Monitor -Identity MailboxSpace\StorageLogicalDriveSpaceMonitor -PropertyName MonitoringThreshold
Danach ist der Health Manager Service zu rebooten
Ein lokaler Override wurde gesetzt
{width="11.145833333333334in" height="5.010416666666667in"}
Man sieht deutlich von wem und wann dieser gesetzt wurde. Es wurde hier nicht, aber es können für einen Override auch Ablaufdaten gesetzt werden.
Ein globaler Override wurde gesetzt
{width="11.791666666666666in" height="6.40625in"}
Auch hier ist die Nachvollziehbarkeit gegeben
Anzeigen kann man sich diese auch mit
Get-ServerMonitoringOverride -Server pecxmxp01a
Get-GlobalMonitoringOverride
{width="7.697916666666667in" height="1.6875in"}
Zum Deaktivieren eines Monitors setzt man genauso einen Override
Add-ServerMonitoringOverride -ItemType Monitor -id "Monitoring\HealthManagerWorkItemQuarantineMonitor" -PropertyValue 0 -PropertyName Enabled -Server PECXMXP01a -ApplyVersion 15.1.396.30
Add-GlobalMonitoringOverride -ItemType Monitor -id "OutlookMapiHttp.Proxy\OutlookMapiHttpProxyTestMonitor" -PropertyValue 0 -PropertyName Enabled -ApplyVersion 15.1.544.27
Add-GlobalMonitoringOverride -ItemType Monitor -id "OWA.Protocol\OwaDeepTestMonitor" -PropertyValue 0 -PropertyName Enabled -ApplyVersion 15.1.544.27
Add-GlobalMonitoringOverride -ItemType Monitor -id "Outlook.Proxy\OutlookProxyTestMonitor" -PropertyValue 0 -PropertyName Enabled -ApplyVersion 15.1.544.27
Add-GlobalMonitoringOverride -ItemType Monitor -id "Monitoring\HealthManagerWorkItemQuarantineMonitor" -PropertyValue 0 -PropertyName Enabled -ApplyVersion 15.1.544.27
Add-GlobalMonitoringOverride -ItemType Monitor -Id "MailboxSpace\StorageLogicalDriveSpaceMonitor" -PropertyName MonitoringThreshold -PropertyValue 10240 -ApplyVersion 15.1.544.27