Hello Oriol,
from your message I see your monitoring module is having troubles connecting at some point.
The monitoring module is simply a cron task which make requests to the Wazuh API and insert data on the
wazuh-monitoring-* indices on Elasticsearch.
The monitoring module make requests pointing to the Wazuh API address and the Wazuh API port (usually 55000).
Once the data is fetched it inserts data on Elasticsearch (usually on port 9200).
Your Wazuh API data should be stored at .wazuh index, please paste the output of the next curl command
(remove credentials once you are going to paste the content here):
# curl elastic_ip:9200/.wazuh/_search?pretty
The above command gives us useful information about your stored configuration.
When you say OSSEC Server IP I'm assuming Wazuh manager IP, right? if so, please paste the ouput of this curl command:
# curl ossec_ip:55000 -u apiuser:apipass
This way we can check if your Wazuh API is down or not.
It would be nice if you give us the Wazuh App logs content, you could do it as follow:
# cat /usr/share/kibana/plugins/wazuh-logs/wazuhapp.log
With the logs we can check certain messages to ensure what's happening.
Finally, let us know your App revision code as follow:
# cat /usr/share/kibana/plugins/wazuh/package.json | grep revision
Maybe your revision is lower than 389 since we released it just yesterday, I suggest you to upgrade it
and we can help you to upgrade it on a easy way.
That's all for now, regards,
Jesús