Steps to install zensor in Debian:
Run the terminal of your system using
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
⚠ Error: The results are not shown after the installation
sudo systemctl status zensor-agentcommand 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
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:
apt-get remove –purge zensor-agent
systemctl disable zensor-agent
Last step, repeat the installation process as given in the Zensor Installation Documentation