Monitors the File Version Attribute of a File.
A check for File Version if version doesn’t match it raises an alert.
The File Version is an override.
Monitor is disabled by default.
Monitors the File Version Attribute of a File
Use overrides to enable the monitor for a File or all Files. Use the Override to set the Version of the File.
The File has a different version from the given override.
The monitor is disabled by default.
Target | Windows.Monitoring.FileSystem.File | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | StateCollection | ||
Enabled | False | ||
Alert Generate | True | ||
Alert Severity | Warning | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Windows.Monitoring.FileSystem.FileVersion.Monitor | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Windows.Monitoring.FileSystem.FileVersion" Accessibility="Public" Enabled="false" Target="Windows.Monitoring.FileSystem.File" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows.Monitoring.FileSystem.FileVersion.Monitor" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Windows.Monitoring.FileSystem.FileVersion_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="Windows.Monitoring.FileSystem.File"]/Name$</AlertParameter1>
<AlertParameter2>$Data/Context/Property[@Name='FileVersion']$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="UIGeneratedOpStateId1f6b0b4d3d504b8bbaa6ad089b32e2fb" MonitorTypeStateID="VersionOk" HealthState="Success"/>
<OperationalState ID="UIGeneratedOpStateId4aa37df0938d486f88a24470c6f2fc04" MonitorTypeStateID="VersionNotOk" HealthState="Warning"/>
</OperationalStates>
<Configuration>
<strFilePath>"$Target/Property[Type="Windows.Monitoring.FileSystem.File"]/Path$"</strFilePath>
<strFileVersion>FileVersion Here</strFileVersion>
<IntervalSeconds>3600</IntervalSeconds>
</Configuration>
</UnitMonitor>