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 clone
the PCAPAnalyzer installer repocd
to the cloned repo on thepcapanalyzer
folder- Navigate to the
install
folder - Run the
installer.py
script withpython3 installer.py
- when prompted for a confirmation, choose
y
orY
to enter the install script - When prompted, enter
a
orA
to perform an agent install. - Input the
postgresql
database 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.