访问 Wazuh 控制台
URL: https://<SERVER_IP>
Login credentials:
- Username:
admin - Password: stored in
/root/wazuh-install-files.tar
查看已存储的密码
Wazuh Manager、API、Indexer 及各 Agent 的所有默认密码均包含在 tar 归档文件中。
File: /root/wazuh-install-files.tar
解压密码的方法:
tar -O -xvf /root/wazuh-install-files.tar wazuh-install-files/wazuh-passwords.txt
Open Ports
请确保防火墙已放行以下端口:
443:Wazuh Dashboard HTTPS9200:Wazuh Indexer API(Elasticsearch)55000:Agent 与 Manager 通信(TCP)1514:Wazuh Remoted syslog(TCP)1515:Wazuh Remoted 附加 syslog(TCP)
重要文件与目录
- Password archive:
/root/wazuh-install-files.tar - Manager 配置文件:
/var/ossec/etc/(containsossec.conf, rules, decoders) - Manager logs:
/var/ossec/logs/ossec.log - Manager 数据目录:
/var/ossec/queue/,/var/ossec/active-responses/ - Dashboard configuration:
/etc/wazuh-dashboard/(containsdashboard.yml, SSL certificates) - Dashboard logs:
/var/log/wazuh-dashboard/ - Indexer configuration:
/etc/wazuh-indexer/(containselasticsearch.yml, roles) - Indexer data:
/var/lib/wazuh-indexer/ - Indexer logs:
/var/log/wazuh-indexer/
Service Management
Check status:
systemctl status wazuh-manager
systemctl status wazuh-api
systemctl status wazuh-dashboard
systemctl status wazuh-indexer
Restart services:
systemctl restart wazuh-manager wazuh-api wazuh-dashboard wazuh-indexer
Viewing logs:
tail -f /var/ossec/logs/ossec.log
tail -f /var/log/wazuh-dashboard/wazuh-dashboard.log
tail -f /var/log/wazuh-indexer/wazuh-indexer.log
注意事项与建议
- Wazuh Dashboard 默认运行在 HTTPS 上。
- Ensure ports
443,9200,55000,1514, and1515已开放,以确保全部功能正常使用。 - 在以下位置使用提取的密码
/root/wazuh-install-files.tar用于 agent 注册和 API 访问。