ManageEngine® Applications Manager
File Directory Monitor
To create a file/directory monitor, follow the steps given below:
From the New Monitor tab, select File / Directory Monitor.
Provide a Display Name for the monitor.
Select whether it is a File or Directory monitor.
Specify whether the File / Directory to be monitored is in the Local or Remote Server.
If it is in the Local server, give the absolute path to the file / directory. If it is in a Remote server, select the Host Name (remote server) from the combo box or you can create a new host (by giving a new host name / IP address, username and password of the host) and the file / directory's absolute path. This new host thus added can be deleted by clicking on the Delete Host link. Host names already present and configured for server monitoring cannot be deleted in this manner. Also select the Mode Of Monitoring (WMI for Windows, Telnet/SSH for Linux), the port and Command Prompt if required.
For a File monitor, select the Do Content Check check box if you wish to run a content check. Enter the string for which you want to check content matching in Check Content text box. For eg., you can check for exceptions that might occur.
Choose between the File Parsing Options to perform content check to Only appended content or the Whole File. Also, you can set the monitor status to UP/DOWN if ANY/ALL of the contents are matched. For a Directory monitor, select the Show SubDirectory Count checkbox to display the subdirectory count of a directory.
For both File and Directory monitor, you can select the Do file/directory age check check box if you wish to display the Monitor Status to UP/DOWN if the FILE/DIRECTORY is MODIFIED/NOT MODIFIED within a certain time.
Enter the Polling interval time period in minutes and the Timeout in seconds.
Choose the Monitor Group from the combo box to which you want to associate the Monitor (optional).
Click Add Monitor(s). This discovers the file / directory from the network and starts monitoring them.
The File Name / Directory Name should be specified with Absolute Path. (eg) C:\Desktop\test.txt (or) /home/test/test.txt.
Pattern matching for file names is supported in both windows and Linux servers. If we get the multiple files for the pattern matching, monitoring is carried out for the last modified file.
In case of Multiple Checks for Content, use commas to seperate multiple entries.(eg) NullPointerException,File System Monitor,testString
Support for configuring files which will be created on a daily basis. Say for example you can configure filename as localhost - $YYYY-$MM-$DD.log.
Ensure that the file you are monitoring has Read Permission.
Content Matching in File Monitoring is supported in both Windows and Linux Servers.
Displaying the subdirectory count of a directory is configurable.
Monitors - File / Directory Monitoring | Create Other New Monitors
HTTP URL Monitors