Centreon Zero Trust Alert Integration
Support Statement
This documentation is provided "as is" without support for 3rd party software. The level of support for this integration guide is best effort without any SLA on response time. No 3rd party product support can be provided by Superna directly. 3rd party components require support contracts. See EULA for more details.
Overview
Customers using Centreon can leverage this integration to send real-time Zero Trust alerts using webhooks and maintain full payload parsing using JSON-defined fields. The Centreon Alert Ingestion Connector capability within the platform allows inbound webhook JSON payloads to be parsed and turned into host status updates.
Solution Overview
Superna Data Security Edition Zero Trust API is the cornerstone technology used to integrate with SIEM and SOAR platforms. This integration maps Zero Trust alerts to a NAS storage host created in the Centreon platform.
What Is Centreon?
Centreon provides an AIOps-ready, business-aware IT monitoring platform that offers unified, end-to-end observability across complex, converging infrastructures from cloud to edge, for organizations of all sizes.
Integration Architecture

Solution Configuration in Centreon and Defender Zero Trust
Prerequisites
- Installed Data Security Edition subscription product
- Eyeglass OS appliance version 15.5 — verify with
cat /etc/os-release - License key for the Zero Trust API
- Centreon on-premises configured with HTTPS
Configuration in Centreon
-
Log in to the Centreon console.
-
Create a new host for your storage device:
- Enter a name for the storage device and its IP address.
- Save the host entry.
- Record the
host_idvalue from the URL after saving — for example:host_id=5inhttp://x.x.x.x/centreon/main.php?p=60101&o=c&host_id=5.
-
Update the poller:
- Navigate to Administration → Export Configuration.
- Select the poller from the drop-down list.
- Check the appropriate export boxes and select the restart option.
- Click Export. This adds the host to the poller to allow host status API updates.
-
Generate an API token:
- Navigate to the API token settings in the administration menu.
- Select a username with permissions to update hosts. Consult Centreon documentation for specific permission requirements.
- Record the API token for use in the configuration steps below.
Configuration Steps on Eyeglass Virtual Machine
High-Level Steps
- Create the Python location to run the application on the Eyeglass VM.
- Create the Python main application script.
- Create the Linux systemd service and set it to auto-start.
- Create the Zero Trust configuration in Defender.
- Update the main script to customize it with the Centreon Python code.
- Test the script is running as a service.
- Create a test event in Defender to validate alerts appear as indexed parsed events in Centreon.
Configure the Service Start and Python Integration Files
Log in to the Eyeglass VM via SSH as the admin user:
ssh admin@<your-vm-ip>
Become root:
sudo -s
mkdir -p /opt/superna/cgi-bin
chown -R sca:users /opt/superna/cgi-bin
chmod -R u+rwX,g+rwX /opt/superna/cgi-bin
Switch to the SCA user:
sudo -u sca -s
cd /opt/superna/cgi-bin
Create a Python virtual environment for the integration:
python3 -m venv venv-centreon
source venv-centreon/bin/activate
Install required Python packages:
pip install flask boto3 requests logging
deactivate
Create integration script files:
touch centreon.py
touch centreon.sh
chmod +x centreon.py
chmod +x centreon.sh
Create the centreon.sh launch script:
nano /opt/superna/cgi-bin/centreon.sh
Paste the following content into the file:
#!/bin/bash
export PATH="/opt/.pyenv/bin:$PATH"
source /opt/superna/cgi-bin/venv-centreon/bin/activate
exec python /opt/superna/cgi-bin/centreon.py
Make the script executable:
chmod +x /opt/superna/cgi-bin/centreon.sh
Exit back to root:
exit
whoami # confirm you are root
Create the systemd service unit file:
nano /etc/systemd/system/centreon.service
Paste the following content into the file:
[Unit]
Description=Webhook listener for Zero Trust API translations and integrations
After=network.target
[Service]
Type=simple
User=sca
Group=users
WorkingDirectory=/opt/superna/cgi-bin
ExecStart=/bin/bash /opt/superna/cgi-bin/centreon.sh
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target
Reload systemd to register the new service:
systemctl daemon-reload
Enable the service to start on boot (do not start it yet):
systemctl enable centreon
Configure Python Packages and Customize the Integration Code
-
Download the Python template code from the link to download (right-click, save as).
-
Open the Python template file in a text editor. Only replace the placeholder values — do not delete any commas.
-
Locate the following section and replace the placeholder values with your Centreon endpoint IP address, API token, and host ID recorded during host creation:
CENTREON_BASE = "https://x.x.x.x/centreon"
CENTREON_API_TOKEN = "yyyyyyyyy"
CENTREON_VERIFY_SSL = False
HTTP_TIMEOUT = 15
# Manual storage device host ID (must already exist in Centreon)
STORAGE_HOST_ID = 5 -
Open the production file on the Eyeglass VM:
nano /opt/superna/cgi-bin/centreon.py -
Open the template file locally in Notepad, select all (Ctrl+A), and copy.
-
Paste the clipboard into the SSH terminal session with the open nano editor.
-
Save the file:
- Press Ctrl+X
- Answer Yes to save and exit
-
Start the service and verify it is running:
systemctl start centreon
systemctl status -l centreonVerify the service returns "active and running". If the service does not start, do not proceed — double-check the steps above.
Configure Defender Zero Trust Webhooks
-
Configure the Zero Trust endpoint in the Ransomware Defender Zero Trust tab.
Recommended ConfigurationSend only Critical and Major events, and only webhooks that set lockout or delayed lockout. The goal is to send findings rather than a list of alarms that do not pinpoint a security incident. Customers can customize based on specific requirements.
-
The endpoint URL uses localhost and sends webhooks to the application service listening on port 5000:
http://localhost:5000/webhook -
Add the Content-Type header with value application/json to complete the webhook configuration.
-
Click Save to commit the configuration.
-
Click Save on the main Webhook configuration page.
How to Test the Integration with Centreon
- Download the curl command template and open it with a text editor.
- Copy all the text.
- SSH to the Eyeglass VM as the admin user.
- Paste the entire CLI command to the SSH prompt to send sample data to the running Zero Trust application. This sends test data directly to the application to be processed and sent to Centreon.
A successfully processed webhook test returns an HTTP 200 status code and successCount: 1 in the log.
To review the process logs from the web application:
sudo -s
journalctl -f -u centreon
To log to a file and review with nano, showing only the most recent 250 lines:
journalctl -f -n 250 -u centreon > /tmp/ztwebhook.log
nano /tmp/ztwebhook.log
Centreon SecOps Administrators Integration Experience
The Centreon timeline shows the history of alerts raised against the storage device. Each entry represents a client IP address and the details of each alert triggered by a Zero Trust event.