File and Directory Monitor
GitHub: uptimesoftware/file-directory-monitorVersion Compatibility Module Name | Uptime Monitoring Station Version |
---|---|
File and Directory Monitor 4.11 | 7.8, 7.7, 7.6, 7.5, 7.4, 7.3 |
File and Directory Monitor 3.4 | 7.2, 7.1, 7.0, 6.0 |
Download Files |
---|
File and Directory Monitor 4.11 File and Directory Monitor 3.4 |
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: | Perl on *NIX |
Input Variables: |
|
Output Variables: |
|
Languages Used: |
|
Notes:
WINDOWS
- Download agent files ZIP (above)
- 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)
- Run as administrator, the Uptime Agent Console (Start > Uptime Agent Console) and click on Advanced > Custom Scripts
-
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"
POSIX
- Place the filedircheck-nix-agent.pl file in the directory /opt/uptime-agent/scripts/ (create the directory if needed)
- Create/edit the following password file: /opt/uptime-agent/bin/.uptmpasswd and add the following line to it: filedircheck /opt/uptime-agent/scripts/filedircheck-nix-agent.pl
-
run the following commands to change ownership and permission on /opt/uptime-agent/scripts/filedircheck-nix-agent.pl
chown uptimeagent:uptimeagent /opt/uptime-agent/scripts/filedircheck-nix-agent.pl chmod 770 /opt/uptime-agent/scripts/filedircheck-nix-agent.pl