IDERA

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

Information Table
Description: 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.

Dependencies:

n/a

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

Notes:

WINDOWS

  1. Get filedircheck-win-agent.vbs from the Agent Files Bundle
  2. Place filedircheck-win-agent.vbs in the uptime agent directory in a subdirectory called “scripts” (ie. C:\program files (x86)\uptime software\uptime agent\scripts ). Create the scripts folder if it doesn’t exist.
  3. Open the uptime Agent Console (Start > Uptime agent) and click on Advanced > Custom Scripts
  4. Setup a command like this:

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

POSIX

  1. Get filedircheck-nix-agent.pl from the Agent Files Bundle
  2. Place the filedircheck-nix-agent.pl file in the directory /opt/uptime-agent/scripts/ (create the directory if needed)
  3. Create/edit the agent password file /opt/uptime-agent/bin/.uptmpasswd add this line to it:

    filedircheck /opt/uptime-agent/scripts/filedircheck-nix-agent.pl
    

October 7, 2013 |

Comments

comments powered by Disqus
Copyright © 2015 IDERA, Inc.   Legal   Privacy Statement