Control Compliance Suite (CCS)
Possible error in the CCS Console is shown below. (the command listed after the bolded error below will vary depending on which command is running when it times out)
This query was halted before completion. Query timed out in command execution: <command_that_was_running_at_timeout>
This query was halted before completion. Query timed out in command execution: find / name !-fstype nfs -a ! -fstype autofs -a ! -fstype cifs -a ! -fstype -a ! -fstype ncp -a ! -fstype afp -a ! -fstype afs -type d \\ ( -perm -0002 -a ! -perm -1000 \\) @ lt/dev/null
A timeout occurring due to targeting large file systems (e.g. NFS, CIFS, etc.) on local or remote file systems, or folders that contain a lot of files.
Follow these steps to exclude the directory path from the data collection jobs depending if you are using Agentless or Agent-based Data collection.
NOTE: There are two files that can be modified depending what you want to accomplish. In this example we will modify the IgnoreDirectoryPathAlways.dat file, but you can modify the IgnoreDirectoryPathsForFind.dat in a similar way if you only want to eliminate the path when using the 'FIND' command.
For Agentless data collection:
Modify the IgnoreDirectoryPathAlways.dat file listing the directories you would like to be ignored. After modification, the file should contain a list of any paths that will be ignored during file and find data collection commands to keep timeouts from occurring. (Each directory should be listed, one per line, with an extra blank line at the bottom of the file.)
For Agent-based data collection:
# Possible Values: true or false
# Description: Used for ignoring remote filesystems while query
# Specifies the path to the file containing list of directories to be ignored for all queries
Restart the agent after saving the bv.conf file. (from the command line on the agent system, /esm/esmrc restart)