File / Directory Monitor

This section is common to all the editions of IT360 - Professional Edition, Enterprise Edition (Probes only) and MSP Edition (Probes only).

Steps to Create a File Directory Monitor:

  1. Login to IT360 console with the Username and Password of an Admin user.

  2. Click the Admin tab in the header pane.

  3. Click Discover/Add under Discovery.

  4. Choose the option Add from the Discover / Add type dropdown and select the Application radio button.

  5. In the Add New Monitor wizard displayed, click File / Directory Monitor under Custom Monitors. Fill-in the following details:

  6. Provide a Display Name for the monitor.

  7. Select the Type, whether it is a File monitor or Directory monitor.

  8. Specify the File / Directory Location (according to the Type chosen above), is in the Local Server or Remote Server:

    1. If the File / Directory Location is in the Local server, simply give the Absolute path to the File / Directory in the File / Directory Name field.
      e.g., "C:\Desktop\test.txt".

    1. If the File / Directory Location is in the Remote server, you need to do the following:

      • Either select the Host Name (of the remote server) from the Choose the Host dropdown, or create a New Host, by entering a new Hostname / IP address, Username and Password of the host.

      • Select the Mode Of Monitoring (WMI for Windows,Telnet/SSH for Linux), the port and Command Prompt, if required.

      • Enter the Absolute path to the File / Directory in the File / Directory Name field,
        e.g., '/home/test/test.txt'.

      • You can delete the new Host thus added, by clicking the Delete Host link. (Note: Host names already present and those configured for Server monitoring cannot be deleted in this manner).

  1. For Type chosen as File (point: 4), select the Do Content Check check box if you wish to run a content check. For this, do the following:

    1. Enter the string for which you want to check content matching in Check Content text box. For e.g., you can check for exceptions that might occur.

    2. Choose between the File Parsing Options to perform content check to Only appended content or the Whole File.

    3. 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.

  2. For Type chosen as either File or Directory (point: 4), you can select the Do file/directory age check check box. For this, set the Monitor Status to Up / Down, if the File / Directory is Modified / Not Modified within the given time (chosen in minutes).

  1. Enter the Polling interval time period (in minute(s)) and Timeout values (in second(s)).

  2. Now, Associate the above Monitor Instances to a Business Service. i.e. choose the Business Service, to which you want to associate the File / Directory monitor, from the combo box. If no Business Service is found, Create one by clicking the Create New Business Service link.

  3. Click Add Monitor(s). This discovers the File / Directory from the network and starts monitoring them.

Note:

  1. 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.

  2. In case of Multiple Checks for Content, use commas to seperate multiple entries, e.g. NullPointerException,File System Monitor,testString.

  3. 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.

  4. Ensure that the file you are monitoring has Read Permission.

  5. Content Matching in File Monitoring is supported in both Windows and Linux Servers.

  6. Displaying the subdirectory count of a directory is configurable.

See Also:

Top



Copyright © 2014, ZOHO Corp. All Rights Reserved.