The most recent content from our members.
I am looking for a script that will monitor file existence, file age, and file size of a backup to a ftp server in our environment. There is a file that gets backed up every hour and I need the script to be able to return the values for name, age, and size. Each backup file has a similar naming convention (ex:…
Hello Everyone, New here... Need assistance on how to get started / any documentation or literature on creating a SAM template for detecting new / incoming files on a directory with a specific string then displays the new files on the statistic.message when the alert triggers. Thanks!
Hello all! I'm not quite sure how to TL:DR but here goes; We have a cold feed that is dumping into a folder. We'd like setup a monitor that will tell us if the file is over 15 minutes old. Here's the issue; the file could be empty at anytime. Every monitor I've setup alerts that the file is empty. I wish there was…
Hello, I have some troubles with a custom file count script. The script should alert me when there is no new file in the directory for about 60 minutes. Script: $path = '\\server' $stats = 0 $msg = '' $days = 0 $hours = 3 $minutes = 0 $files = @(Get-ChildItem -Path $path) if ($files -ne $null) { $f_names =…
It looks like you're new here. Sign in or register to get started.