Debian
Steps to install zensor in Debian:
Run the terminal of your system using
Ctrl+Alt+T
Run the Install via CLI command starting with [curl -so] that is for installation of Zensor.
- Then run the following commands one after the other:
sudo systemctl daemon-reload
sudo systemctl enable zensor-agent
sudo systemctl start zensor-agent
Troubleshooting
Installation alerts
⚠ Error: The results are not shown after the installation
Use the
sudo systemctl status zensor-agent
command to check for the status.If the status shows failed, run this command
sudo cat /var/ossec/etc/ossec.conf
.Go to address under the ossec-config to check for manager IP. If the value in it is invalid or different than the CLI command, correct it accordingly, using the
nano /var/ossec/etc/ossec.conf
command.
If the above steps don’t work and issue persists, follow the commands given below in order to check the logs and solve the error:
tail -f /var/ossec/log/ossec.log
Removing and reinstalling zensor agent:
(i)
apt-get remove –purge zensor-agent
(ii)
systemctl disable zensor-agent
(iii)
systemctl daemon-reload
Last step, repeat the installation process as given in the Zensor Installation Documentation