Wazuh Agent Status is an application designed to monitor the state of Wazuh agents. This tool provides real-time insights into the operational status of agents, ensuring they are functioning correctly and efficiently.
To install the application, follow these steps:
git clone https://github.com/ADORSYS-GIS/wazuh-agent-status.git
cd wazuh-agent-status
Install dependencies:
go mod tidy
go mod download
### Additional steps for Ubuntu
sudo apt-get update
sudo apt-get install -y libayatana-appindicator3-dev
You can build binaries for different systems using this command:
GOOS=linux GOARCH=amd64 go build -o dist/wazuh-agent-status-linux
GOOS=darwin GOARCH=amd64 go build -o dist/wazuh-agent-status-macos
GOOS=windows GOARCH=amd64 go build -o dist/wazuh-agent-status-windows
Note: Ensure you have a suitable C compiler installed on your system for this to work.
Run the application with the following command:
./dist/wazuh-agent-status
To install the agent companion, run the script that will download and install it for you:
curl -sL https://raw.githubusercontent.com/ADORSYS-GIS/wazuh-agent-status/main/scripts/install.sh | bash
After installation, you can run the application with:
wazuh-agent-status