Powershell # Script by Brian Long 11/2016 # Scans a network share for 0-byte files - records a number for PRTG monitoring, and sends an email notification. I don't think I'll have a problem with either of those - my question lies in the PowerShell script itself, and how to make it as efficient as possible. Generate an email report that lists the files.Creating a custom sensor in PRTG that will consume the results of a Powershell script displaying just a count of files.I'm thinking of a couple different ways to see the results of the scan: Supposedly Exablox has fixed this resource issue with the latest firmware that was installed this past weekend, but I want to proactively scan the system each night for any 0-byte files. The DAM doesn't recognize that the files didn't load properly, but on the back end we can see those 0-byte files. On at least three occasions now there have been issues where the appliances run out of resources (memory leak), and data that is loaded overnight ends up corrupted (0-byte files). We use a storage solution called Exablox for our digital asset management (DAM) system.
0 Comments
Leave a Reply. |