Once installed and running, the agent starts collecting and batching data. The data collected is periodically transmitted over an encrypted channel to Lacework servers for analysis. It may take up to 2 hours to construct a base graph and for the Lacework Console to populate. Lacework sends a notification to the email address used during registration to inform the user when results are first available in the Lacework Console.
If you have not received an email notification and machine data is not shown two hours after agent installation, the agent may not be able to communicate with Lacework servers.
Check the following:
- Is the agent using a deactivated token, and invalid token, or none at all?
- Does the agent need to be configured to use a proxy, or has the proxy been misconfigured? See Required Connectivity, Proxies & Certificates for instructions on how to add a proxy.
- When running the Lacework agent in a Docker container the hostname of machine in Lacework Console is not the same the hostname of the machine? This is a limitation in Docker runtime which prevents running containers from getting notifications when the Docker host updates the hostname. See the procedure below to correct this Docker issue.
- Is the GoDaddy certificate in the root store? If not, the GoDaddy certificate needs to be added to the trusted root store. Please consult appropriate resources on installing third-party CA certificates. See Required Connectivity, Proxies & Certificates.
Docker Limitation Workaround
To correct the Docker issue which prevents running containers from getting notifications when the Docker host updates the hostname:
- Query the current docker host hostname:
$ hostname coreos-1122.3.0
- Update the hostname in the Docker host:
$ sudo hostname new-coreos-1122.3.0
- Find the process id of the Lacework datacollector container:
$ sudo docker ps-a 0123ae6c9bd9 lacework/datacollector:latest “/var/lib/backup/data” 2 hours ago Up 2 hours datacollector
- Find the PID of the Lacework datacollector container:
$ sudo docker inspect 0123ae6c9bd9 | grep Pid “Pid”: 2897, “PidMode”: “host”, “PidsLimit”: 0,
- Edit UTS namespace of the Lacework datacollector container updating it with the new hostname, where nsenter is part of the util-linux package.
$ sudo nsenter --target 2897 --uts hostname new-coreos-1122.3.0
- Log in to the Lacework agent container and verify that the new hostname is visible:
$ sudo docker exec -it 0123ae6c9bd9 /bin/bash groups: cannot find name for group ID 0 root@new-coreos-1122:/# hostname new-coreos-1122.3.0 12You need not restart the Lacework agent container to display the new hostname.