|
Default
Parameters for DirectoryUpdateTest
This test monitors specific directories for files that are older than a configured duration.
This page depicts the
default parameters that need to be configured for the DirectoryUpdateTest.
-
The DIRECTORY_LIST text box takes a comma seperated list of directory paths that are to be monitored. For example, if you want to monitor a directory called temp in the C drive, then you need to specify, c:\temp. If you would like to monitor a directory named root which is a sub-directory of temp, then your specification should be: c:\temp\root. To monitor both the temp and root directories in our example, specify the following in the DIRECTORY_LIST text box: c:\temp,c:\temp\root. Alternatively, your specification can also be of the following format: DisplayName@DirPath. For instance, to monitor the c:\temp directory, your specification can be: Temp@c:\temp. In this case, the DisplayName Temp will appear as the descriptor of the test. You can also monitor multiple directories using the same format. For instance, to monitor the temp and root directories in the C drive, your specification can be: Temp@c:\temp,Root@c:\root. In this case, Temp and Root will be the descriptors of the test.
-
This test reports the number of old files in the configured directories. In the HOURS_OLDER text box therefore, you need to specify how old the files in the specified directory have to be, so that they are considered for monitoring by this test. For example, if the DIRECTORY_LIST contains c:\temp, and the HOURS_OLDER text box contains the value 2, then the test will report the number of files in the temp directory that were last modified over (i.e., greater than) 2 hours before. For every directory specification in the DIRECTORY_LIST, you can specify a corresponding value in the HOURS_OLDER text box - i.e., if 3 directories are configured in the DIRECTORY_LIST, then the HOURS_OLDER can also contain a comma-separated list of 3 values - say, 2,3,4. In this case, the test will report the following:
- For the first directory in the DIRECTORY_LIST, the test will report the number of files in the directory that were last modified over 2 hours ago.
- For the second directory in the DIRECTORY_LIST, the test will report the number of files in the directory that were last modified over 3 hours before.
- For the third directory in the DIRECTORY_LIST, the test will report the number of files in the directory that were last modified over 4 hours ago.
Alternatively, you can also specify a single value in the HOURS_OLDER text box. This value will automatically apply to all the directories configured in the DIRECTORY_LIST. In other words, the number of values that you specify in the HOURS_OLDER text box should either be 1 or should be equal to the number of directories configured in the DIRECTORY_LIST. Note that you can provide a value less that 1 hour in the HOURS_OLDER text box. If you wish to consider the files that were modified before 15 minutes, then your specification should be 0.25 in this text box.
|