Customer Self-Service Portal

File Age monitoring for Windows Server

Hi all,

 

I'm looking to monitor a folder - and its subfolders - and get alert if there are files older than X minutes.
One point is: The folder is a shared folder

 

I could write a plugin script but in site24x7 console, I get the error below, its like if the plugin could not reach the shared folder drive:

Execution Error :: Get-ChildItem : Cannot find drive. A drive with the name 'Z' does not exist.


I tried re-writting the script, inserting the UNC path instead of the Shared Drive, but the same error occurs:

Execution Error :: Get-ChildItem : Cannot find path '\\blablabla.domain.local\blabla\Data\'

 

Maybe some tip for my script or maybe the site24x7 already has the solution as builtin?

 

Thanks in advance