Monitor de caducidad del certificado SSL de Apache
El certificado SSL del host virtual de Apache caducará pronto. El estado del SSL del servidor HTTP de Apache puede verse afectado negativamente.
El certificado SSL del servidor HTTP de Apache caducará pronto.
Renueve el certificado y actualice el host virtual para usar el certificado renovado.
Configuración predeterminada
Parámetro | Valor predeterminado |
ErrorThreshold | 7 |
WarningThreshold | 21 |
Se pueden usar invalidaciones para cambiar los valores de parámetros definidos anteriormente para todas las instancias o para instancias o grupos específicos
Target | Microsoft.ApacheHTTPServer.Certificate.Unix | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | AvailabilityHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | MatchMonitorHealth | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Oss.WSManEnumeration.LessThanThreshold.ThreeState.MonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.ApacheHTTPServer.Certificate.Unix.DaysUntilExpiration.Monitor" Accessibility="Public" Target="Microsoft.ApacheHTTPServer.Certificate.Unix" TypeID="Oss!Microsoft.Oss.WSManEnumeration.LessThanThreshold.ThreeState.MonitorType" ParentMonitorID="Health!System.Health.AvailabilityState" Enabled="onStandardMonitoring">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.ApacheHTTPServer.Certificate.Unix.DaysUntilExpiration.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Value$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="StatusOK" MonitorTypeStateID="StatusOK" HealthState="Success"/>
<OperationalState ID="StatusWarning" MonitorTypeStateID="StatusWarning" HealthState="Warning"/>
<OperationalState ID="StatusError" MonitorTypeStateID="StatusError" HealthState="Error"/>
</OperationalStates>
<Configuration>
<Interval>28800</Interval>
<TargetSystem>$Target/Host/Host/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/NetworkName$</TargetSystem>
<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/Apache_HTTPDVirtualHostCertificate?__cimnamespace=root/apache</Uri>
<WSManFilter/>
<ObjectName>Apache Virtual Host</ObjectName>
<CounterName>Certificate days until expiration</CounterName>
<InstanceXPath>/DataItem/WsManData/*[local-name(.)='Apache_HTTPDVirtualHostCertificate']/*[local-name(.)='Name']</InstanceXPath>
<InstanceName>$Target/Property[Type="Microsoft.ApacheHTTPServer.Certificate"]/Name$</InstanceName>
<Value>$Data/WsManData/*[local-name(.)='Apache_HTTPDVirtualHostCertificate']/*[local-name(.)='DaysUntilExpiration']$</Value>
<WarningThreshold>21</WarningThreshold>
<ErrorThreshold>7</ErrorThreshold>
<NumSamples>1</NumSamples>
</Configuration>
</UnitMonitor>