Excluding additional directories (BigFix scenario)
You can exclude additional directories from being scanned by specifying them in the task and then running this task against the chosen endpoints. Excluding directories that do not contain any information relevant for software inventory can significantly speed up the scanning process.
Before you begin
About this task
- Using asterisks (*) and question marks (?) to specify the additional directories that should be excluded
- You can use the asterisk (*) and question mark (?) wildcards to specify which directories to
exclude from scanning. Remember about the following rules:
- Asterisks (*) and question marks (?) should be used according to their regular rules of usage while specifying excluded directories. An asterisk (*) might represent no characters, or a few consecutive characters. A question mark (?) represents a single character.
- The number of asterisks (*) and question marks (?) in a single path is not limited.
- Asterisks (*) and question marks (?) are the only wildcards that are supported. Other expressions, such as [a]* or [a-z] are not supported, and should not be used to specify the excluded directories.
- Examples of properly specified directories.
- Example 1. ?:/System Volume Information
The System Volume Information directory located on any partition is excluded. For example, c:/System Volume Information and d:/System Volume Information.
- Example 2. */backup*
Any directory on a file system that begins with backup is excluded. For example, /tmp/backup and /home/user1/backup20170101.
- Example 3.
The /tmp directory is excluded.Note: It is important to place the wildcards in the right position. The following path patters specify different directories.
- Only the /tmp directory is excluded.
- The /tmp directory, as well as any directory starting with the tmp string are excluded. For example, /tmp1, /tmp123, and /tmpABC.
- Any /tmp directory on file system is excluded. For example, /tmp, /var/tmp, and /home/user/test/tmp.
- Example 4. *per*lib6*all
Any directory path that contains the per string which is followed by a string that contains lib6 and ends with all. For example, /usr/opt/perl5/lib64/5.10.1/aix-thread-multi-64all and /usr/opt/perl5/lib64/site_perl/5.10.1/aix-thread-multi-64all.
However, according to the rules, this example does not cover the following path: /usr/opt/perl5/lib64/5.10.1/aix-thread-multi-64all2 as it does not end with the all.
- Log in to the BigFix® console.
- In the navigation tree, click Fixlets and Tasks. , and then click
- Select the Add Excluded Directories task.
Specify which directories are to be excluded from scanning. If you specify a particular
directory, it is excluded along with all its sub-directories.
Use only slashes (/) in the directory path.
- Click Take Action and select endpoints for which you want to apply the changes.