diff --git a/Atea.Windows.File.Monitoring/Scripts/FileAgePB.ps1 b/Atea.Windows.File.Monitoring/Scripts/FileAgePB.ps1 index 8f2a703..aa77e25 100644 --- a/Atea.Windows.File.Monitoring/Scripts/FileAgePB.ps1 +++ b/Atea.Windows.File.Monitoring/Scripts/FileAgePB.ps1 @@ -49,6 +49,7 @@ if (Test-Path -Path $RegistryPath) { if ($Recursive.Trim() -eq "false") { $Recursive = "" + $summaryMessage += "`n`n" } else { $Recursive = "-Recurse " $summaryMessage += ", Recursive`n`n" diff --git a/Atea.Windows.File.Monitoring/TypeLibrary/ModuleTypes/ProbeActions/FileAgePoSHProbe.mpx b/Atea.Windows.File.Monitoring/TypeLibrary/ModuleTypes/ProbeActions/FileAgePoSHProbe.mpx index ea2073f..509528b 100644 --- a/Atea.Windows.File.Monitoring/TypeLibrary/ModuleTypes/ProbeActions/FileAgePoSHProbe.mpx +++ b/Atea.Windows.File.Monitoring/TypeLibrary/ModuleTypes/ProbeActions/FileAgePoSHProbe.mpx @@ -13,7 +13,7 @@ - + FileAgePB.ps1 $IncludeFileContent/Scripts/FileAgePB.ps1$ @@ -32,7 +32,7 @@ System!System.PropertyBagData - System!System.BaseData + true diff --git a/Atea.Windows.File.Monitoring/TypeLibrary/MonitorTypes/FileAgeMonitoryType.mpx b/Atea.Windows.File.Monitoring/TypeLibrary/MonitorTypes/FileAgeMonitoryType.mpx index b96c05b..444d259 100644 --- a/Atea.Windows.File.Monitoring/TypeLibrary/MonitorTypes/FileAgeMonitoryType.mpx +++ b/Atea.Windows.File.Monitoring/TypeLibrary/MonitorTypes/FileAgeMonitoryType.mpx @@ -25,6 +25,10 @@ $Config/FolderFriendlyName$ $Config/FileAgeAttribute$ + + $Config/FileAgeAttribute$ + $Config/TimeoutSeconds$ + @@ -64,6 +68,18 @@ + + + + + + + + + + + + diff --git a/Atea.Windows.Service.Monitoring/HealthModel/Rules/AlertRules.mptg b/Atea.Windows.Service.Monitoring/HealthModel/Rules/AlertRules.mptg index b04d58c..d65db84 100644 --- a/Atea.Windows.Service.Monitoring/HealthModel/Rules/AlertRules.mptg +++ b/Atea.Windows.Service.Monitoring/HealthModel/Rules/AlertRules.mptg @@ -23,7 +23,7 @@ Normal Error Failed to Recovery Service - $Data/Property[@Name='EventDescription']$ + $Data/EventDescription$ diff --git a/Atea.Windows.Service.Monitoring/HealthModel/Rules/AlertRules.mptg.mpx b/Atea.Windows.Service.Monitoring/HealthModel/Rules/AlertRules.mptg.mpx index 68aefee..a2f6803 100644 Binary files a/Atea.Windows.Service.Monitoring/HealthModel/Rules/AlertRules.mptg.mpx and b/Atea.Windows.Service.Monitoring/HealthModel/Rules/AlertRules.mptg.mpx differ