Assess Wazuh platform health and email HTML reports with SSH and SMTP
Ready for 3.0What this workflow does
This workflow has 17 nodes and runs manually, when you click “Execute workflow”. It uses only n8n's built-in nodes.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Configure health check (Edit Fields (Set)): sets 22 fields: assessmentLabel, deploymentType, organizationName…
- Authenticate to Wazuh API (HTTP Request): calls an HTTP API (POST)
- Get Wazuh manager information (HTTP Request): calls an HTTP API
- Check Wazuh manager processes (HTTP Request): calls an HTTP API
- Collect Wazuh manager statistics (HTTP Request): calls an HTTP API
- Collect Wazuh daemon statistics (HTTP Request): calls an HTTP API
- Summarize Wazuh agent status (HTTP Request): calls an HTTP API
- Check Wazuh server cluster (HTTP Request): calls an HTTP API
- Check Wazuh indexer cluster health (HTTP Request): calls an HTTP API
- Collect indexer storage allocation (HTTP Request): calls an HTTP API
…plus 6 more steps. See the full node list below.
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (7)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - SSH
n8n-nodes-base.ssh - Data table
n8n-nodes-base.dataTable - Code
n8n-nodes-base.code - Send Email
n8n-nodes-base.emailSend
From the author
Quick overview This workflow runs a manual health assessment of a Wazuh deployment by querying the Wazuh Manager API, Wazuh Indexer API, and host metrics over SSH, then scores the results, generates prioritized recommendations, stores a baseline in an n8n…