Introduction
This guide provides a step-by-step breakdown for setting up an integrated monitoring system using Zabbix, OpenVAS, Uptime Kuma, and Wazuh. This combination ensures comprehensive monitoring for website uptime, security vulnerabilities, and event logging.
Step 1: Install Zabbix for Server & Website Monitoring
Zabbix is used for uptime, performance, and infrastructure monitoring.
- Install Zabbix Server
sudo apt update && sudo apt install -y zabbix-server-mysql zabbix-frontend-php zabbix-agent
- Configure Zabbix Database
sudo mysql -u root -p
CREATE DATABASE zabbix;
CREATE USER ‘zabbix’@’localhost’ IDENTIFIED BY ‘password’;
GRANT ALL PRIVILEGES ON zabbix.* TO ‘zabbix’@’localhost’;
FLUSH PRIVILEGES;
EXIT;
- Start Zabbix & Configure Frontend
Start Zabbix services:
sudo systemctl restart zabbix-server zabbix-agent apache2
Access the frontend via http://your-server-ip/zabbix and complete the setup.
Step 2: Install OpenVAS for Vulnerability Scanning
OpenVAS scans for security vulnerabilities.
- Install OpenVAS (Greenbone Security Manager)
sudo apt install -y openvas
- Start OpenVAS services
sudo systemctl start openvas
- Access OpenVAS Dashboard
Open https://your-server-ip:9392
Default login: admin / generated password
Step 3: Install Uptime Kuma for Website Uptime Monitoring
Uptime Kuma monitors website availability and alerts you on downtime.
- Install Docker & Run Uptime Kuma
docker run -d –restart=always -p 3001:3001 –name uptime-kuma louislam/uptime-kuma
- Access the Uptime Kuma Dashboard
Open http://your-server-ip:3001
Add your websites to monitor their uptime.
Step 4: Install Wazuh for Security Event Monitoring
Wazuh monitors log files and security events.
- Install Wazuh Server
curl -sO https://packages.wazuh.com/4.3/wazuh-install.sh
sudo bash wazuh-install.sh
- Start Wazuh & Access Dashboard
sudo systemctl start wazuh-manager
Open https://your-server-ip:5601
Login with the default credentials and configure alerts.
Step 5: Integrate Everything with Alerts
✅ Zabbix → Sends alerts for performance issues
✅ OpenVAS → Scans for security threats
✅ Uptime Kuma → Notifies you of website downtime
✅ Wazuh → Tracks security logs and threats
Conclusion
This setup provides a comprehensive, open-source monitoring solution for multiple websites. It ensures that security vulnerabilities, performance issues, and downtime events are detected and alerted in real-time. By integrating Zabbix, OpenVAS, Uptime Kuma, and Wazuh, you can maintain a secure and highly available web infrastructure.