Monitor File Age on Linux Mount

Hi all, hoping to get some direction.  I need to create an alert that monitors the file age and alerts if the file is greater then 10 minutes old.  The challenge however is that I need to initiate the monitoring from a Windows node called "NYC123" which has a mount point (appears as an interface) to a Linux machine where the file lives.  Been going around and around trying multiple things but need some input on the basics of what i'm trying to accomplish.  I believe one of the file age templates would likely do the trick, but cannot find get it to work.  Any help is appreciated.

  

Parents
  • You can monitor the file age from your Windows node "NYC123" (which mounts the Linux file system) using a simple PowerShell script that checks the last modified time of the file and alerts if it's older than 10 minutes. Since the file appears as a local path on Windows (like Z:\your\file.txt), PowerShell can easily access it. Use a script to compare the current time with the file’s LastWriteTime, and if it exceeds 10 minutes, trigger an alert—this can be scheduled via Task Scheduler. Think of it like how InShot APK keeps your clips updated for smooth editing—your system just needs that same fresh file check to avoid “stale” data causing issues.

Reply
  • You can monitor the file age from your Windows node "NYC123" (which mounts the Linux file system) using a simple PowerShell script that checks the last modified time of the file and alerts if it's older than 10 minutes. Since the file appears as a local path on Windows (like Z:\your\file.txt), PowerShell can easily access it. Use a script to compare the current time with the file’s LastWriteTime, and if it exceeds 10 minutes, trigger an alert—this can be scheduled via Task Scheduler. Think of it like how InShot APK keeps your clips updated for smooth editing—your system just needs that same fresh file check to avoid “stale” data causing issues.

Children
No Data