87 lines
2.0 KiB
Markdown
Raw Normal View History

2024-10-15 19:30:19 +02:00
<primary-label ref="document"/>
2024-10-05 19:05:51 +02:00
# Wazuh
2024-10-09 18:14:09 +02:00
Endpoint and Cloud Workload Protection
Wazuh unifies historically separate functions into a single agent and platform architecture.
Protection is provided for public clouds, private clouds, and on-premise data centers.
2024-10-14 14:58:37 +02:00
## ___________________
2024-10-05 19:05:51 +02:00
### Troubleshooting
#### Check Server Resources
Ensure that the server running the Wazuh dashboard has sufficient CPU, memory, and disk space.
Inadequate resources can delay the startup process.
```
$ https://documentation.wazuh.com/current/quickstart.html#requirements
```
#### Check Wazuh Logs
##### Wazuh indexer
```
$ cat /var/log/wazuh-indexer/wazuh-cluster.log | grep -i -E "error|warn"
```
##### Wazuh manager
```
$ cat /var/log/filebeat/filebeat | grep -i -E "error|warn"
```
##### Wazuh dashboard
```
$ journalctl -u wazuh-dashboard
$ cat /usr/share/wazuh-dashboard/data/wazuh/logs/wazuhapp.log | grep -i -E "error|warn"
```
##### Service Status
Verify that all necessary Wazuh services are running correctly. You can use the following commands to check the status:
```
1)
$ systemctl status wazuh-manager
2024-10-14 14:58:37 +02:00
or
$ systemctl status wazuh-manager|grep Active
2024-10-05 19:05:51 +02:00
2)
$ systemctl status wazuh-dashboard
2024-10-14 14:58:37 +02:00
or
$ systemctl status wazuh-dashboard|grep Active
2024-10-05 19:05:51 +02:00
3)
$ systemctl status wazuh-indexer
2024-10-14 14:58:37 +02:00
or
$ systemctl status wazuh-indexer|grep Active
2024-10-05 19:05:51 +02:00
4)
$ systemctl status filebeat
2024-10-14 14:58:37 +02:00
or
$ systemctl status filebeat|grep Active
2024-10-05 19:05:51 +02:00
5)
$ filebeat test output
```
#### Another common problem.
2024-10-14 14:58:37 +02:00
Wazuh-indexer may time out when starting the service and Wazuh-dashboard may not start.
This can happen if the service does not start in the time Linux expects it to. We can extend this time with the
following steps:
2024-10-05 19:05:51 +02:00
```
$ systemctl edit wazuh-indexer
```
and add the following lines
```
[Service]
TimeoutStartSec=180
```
Save the file and execute
```
$ systemctl daemon-reload
$ systemctl restart wazuh-indexer
$ systemctl restart wazuh-dashboard
2024-10-15 15:14:40 +02:00
```
<a href="FrontPage.md#shorts" >Shortcuts to pages</a>