Skip to main content

LTCache Monitoring

Summary

This is a remote monitor that will detect when the 'C:\Windows\Temp\LTCache' space exceeds 5 GB.

Details

Suggested "Limit to": Windows Machines Suggested Alert Style: Once
Suggested Alert Template: Default Create Automate Ticket

Check ActionServer AddressCheck TypeCheck ValueComparatorIntervalResult
System127.0.0.1Run FileSee belowLess than144005

Check Value:

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -Command "$ErrorActionPreference = 'SilentlyContinue'; if(Test-Path 'C:\Windows\Temp\LtCache') {[Math]::Round(((Get-ChildItem 'C:\Windows\Temp\LtCache' -Recurse | Measure-Object -Property Length -Sum -ErrorAction Stop).Sum / 1GB),2)}else{'0'}"

Target

This monitor should be run on all Windows machines.