Hi.
For the groups that you need more accessibility such as the apache server or the database, I recommend you to monitor the different resources of your agents such as CPU, memory, disk usage, etc. You can see this at
https://wazuh.com/blog/monitoring-linux-resource-usage-with-wazuh/.
By defining custom rules, you can create an active response where when this rule is activated it can send you information when a resource is over its capacity.
Add File Integrity Monitoring for the different important files that you see that are critical and their modification can cause something to fail that you don't want to. For example, for the Java/Django part I would do it for Django's settings.py file.