|
Default Parameters for FileTracking_cf
This test reports the file information such as the size of the file and the last time the file was modified. In Linux environments, the file information will include the name of the group to which the user accessing the file belongs to and the permissions granted to the user to access the file.
This page depicts the default parameters that need to be configured for the FileTracking_cf.
In the FILENAME text box, specify the full path to the directory or file to be monitored. For e.g., c:\app\logdir. Multiple directories or files can be configured in the following format: <DisplayName1>@<DirectoryPath1>,<DisplayName2>@<DirectoryPath2>,... This implies that every DisplayName will appear as a descriptor of this test. For instance, on a Windows host your specification can be: LogPath@C:\eGurkha\agent\logs,OraPath@C:\Oracle\alerts\logs. Likewise, on a Unix host, your specification can be: LogPath@opt/eGurkha/agent/logs,ErrorPath@opt/usr/tmp/errors.
If a directory has been specified in the FILENAME text box and the INCLUDEFILESINDIR flag is set to Yes, then all the files and subdirectories of the specified directory will be tracked for information. By default, this flag is set to No.
If you wish to include the subdirectories of the directory specified in the FILENAME text box in the scope of monitoring, then specify the value true in the INCLUDESUBDIRECTORIES text box. If multiple directories have been configured in the FILENAME text box, then, the INCLUDESUBDIRECTORIES text box allows you the flexibility to enable sub-directory monitoring for a few of the configured directories and to disable the same for a few others. For instance, if the subdirectories of the directory DisplayName1 needs to be monitored and the subdirectories of the directory DisplayName2 need not be monitored, then the INCLUDESUBDIRECTORIES text box has to be populated as follows: <DisplayName1>@true,<DisplayName2@false.
If you wish to exclude certain files from the scope of monitoring, then specify them in the EXCLUDEPATTERN text box. If no file needs to be excluded from monitoring, set the value of the EXCLUDEPATTERN text box to none. If multiple directories have been specified in the FILENAME text box, and a few files need to be excluded from monitoring for some of these directories, then configure a set of exclude patterns for each such directory; this specification should be in the following format: <DisplayName1>@*Pattern1*:*Pattern2*,<DisplayName2>@*Pattern3*:*Pattern4*. Say for example, you wish to exclude the files - error and warning from the directories LogPath and OraPath mentioned in the FILENAME text box. In this case, your EXCLUDEPATTERN text box specification can be: LogPath@*error*:*warning*, OraPath@*error*:*warning*. If, in addition to directories, one/more files have also been configured for monitoring in the FILENAME text box, then your EXCLUDEPATTERN specification can ignore the files. However, if your FILENAME specification consists of files alone, then, you can specify none in the EXCLUDEPATTERN text box.
When changing default configurations of tests, the values with "$" indicate variables that will be replaced by the eG system according to the specific server being managed - for instance, $hostName is the host/nickname of the target host, $port is the port number of the server being monitored. E.g., for a server xyz:80, $hostName will be changed automatically by the eG manager to "xyz" and $port will be changed to "80" when configuring a test.
|