File and Directory Monitor

 GitHub: uptimesoftware/file-directory-monitor
Tags : plugin logs
Category: plugin

Version Compatibility
Module Name
Uptime Monitoring Station Version
File and Directory Monitor 4.117.8, 7.7, 7.6, 7.5, 7.4, 7.3
File and Directory Monitor 3.47.2, 7.1, 7.0, 6.0
Download Files

File and Directory Monitor 4.11

File and Directory Monitor 3.4

File and Directory Monitor Agent Files - Windows ZIP

File and Directory Monitor Agent Files - *NIX TAR

Information Table

This monitor can report the following Directory information: - Number of files matching a certain regular expression; - Largest file size that match that expression; - Age (in minutes) of the most recent file; - Most recent date of the latest file; - Most recent time of the latest file; - File name that was most recently modified

Supported Monitoring Stations:7.8, 7.7, 7.6, 7.5, 7.4, 7.3, 7.2, 7.1, 7.0, 6.0
Bundled: Starting from Uptime 7.7 this plugin is included within the product by default.
Supported Agents:Windows, Solaris, Linux, AIX
Installation Notes:

Download the Agent Files linked above, and follow the setup steps below.


Perl on *NIX

Input Variables:
  • Directory
  • Search Sub Directories
  • File(s) (RegExp)
Output Variables:
  • Size of File (Bytes)
  • Size of File (KB)
  • Size of File (MB)
  • Size of File (GB)
  • Size of File (TB)
  • Number of Matched Files in Directory
  • Minutes Old
  • Hours Old
  • Days Old
  • Response time
Languages Used:
  • Shell/Batch
  • PHP
  • Perl



  1. Download agent files ZIP (above)
  2. Place the filedircheck-win-agent.vbs file in the uptime agent directory in a subdirectory called “scripts” (C:\Program Files\uptime software\Uptime agent\scripts) (create the scripts directory if needed)
  3. Run as administrator, the Uptime Agent Console (Start > Uptime Agent Console) and click on Advanced > Custom Scripts
  4. Setup a command like this:

    Command Name: filedircheck
    Path to Script: cscript //nologo "C:\Program Files\uptime software\Uptime agent\scripts\filedircheck-win-agent.vbs"


  1. Place the file in the directory /opt/uptime-agent/scripts/ (create the directory if needed)
  2. Create/edit the following password file: /opt/uptime-agent/bin/.uptmpasswd and add the following line to it: filedircheck /opt/uptime-agent/scripts/
  3. run the following commands to change ownership and permission on /opt/uptime-agent/scripts/

    chown uptimeagent:uptimeagent /opt/uptime-agent/scripts/
    chmod 770 /opt/uptime-agent/scripts/
Copyright © 2017 IDERA, Inc.   Legal   Privacy Statement