Installing the agent
When you already have a full server install, you may want to install the agent on host machines to gather data from them. The install steps for the agent are:
git clonethe PCAPAnalyzer installer repocdto the cloned repo on thepcapanalyzerfolder- Navigate to the
installfolder - Run the
installer.pyscript withpython3 installer.py - when prompted for a confirmation, choose
yorYto enter the install script - When prompted, enter
aorAto perform an agent install. - Input the
postgresqldatabase manager host IP that has the PCAPAnalyzer database install from your server. - input the password that the server install generated for your PCAPAgent user.
- You will be asked to input a machineid. Choose a unique identifier for the host, like its hostname.
- input the absolute path where you want to install the agent. The team's recommendation is
/opt/pcapagent/. - From the listed options, provide the system name of the interface you want the network sniffer to listen on. [!] YOu can only have one listen entry. You cannot set it to
any. - Enable the data logging with
service packetstream start.
Once this installation is complete, you will have a functional PCAPAnalyzer install to use.