Cloud Agent Installation for Agentless Tracking
If you are already using Agentless Tracking on hosts and now you want to install Cloud Agent on the same hosts, it might create a duplicate asset record. You can install Cloud Agent using the same host ID tag, it avoids duplication of record for the same host in your account.
You can configure the location of the host ID file installed on your Unix hosts with the recommended default of /etc (the agent will create/use a 'qualys' directory under /etc). This is recommended best practice if you are interested in using Unix Agent and Agentless Tracking to evaluate the same host.
Once configured, the same file with the same host ID tag is accessed by our service when the host is evaluated using:
- Agentless Tracking AND
- Cloud Agent
Cloud Agent Installation Steps for host with Agentless Tracking
- Check your Unix authentication record
This is the record you’re using to access the system using Agentless Tracking. You’ll see the location of the host ID file configured for the authentication record.
Want help with Agentless Tracking? Log into the Qualys Cloud Platform, go to Help > Contact Support and search for Agentless Tracking. - Install the Agent
Use the agent configuration tool (qualys-cloud-agent.sh
) and theHostIdSearchDir
option to install the Unix Agent and configure the location of the host ID file. Be sure this location matches the location defined in your authentication record.
By default HostIdSearchDir is set to/etc/
. To stay consistent with the Agentless Tracking location Qualys appends “/qualys/hostid
” to the path provided.
Example - Install as root user and set host ID file to /mydir/qualys/hostid
$ /opt/qualys/cloud-agent/bin/qualys-cloud-agent.sh
ActivationId="022224c8-31c7-11e5-b4f7-0021ccba987e"
CustomerId="146556fa-31c7-11e5-87b6-0021ccba987e"
HostIdSearchDir="/mydir/"