# Exim Integration

Xitoring Exim integration streamlines the process of monitoring Exim, providing users with real‑time insight into message queue. By automatically collecting and aggregating this information, Xitoring enables users to quickly identify and resolve mail‑flow issues, ensuring reliable and timely email delivery.

# Enable Exim integration

Enabling Exim integration is simple—run the following command on the server where Exim is installed:

```bash
xitogent integrate
```

Choose **Exim** from the list of available integrations. Xitogent creates the configuration file at `/etc/xitogent/integrations/exim_integration.conf` and immediately begins collecting metrics.

> **Note** Xitogent expects the `exim` binary to be discoverable in the system `PATH` (usually `/usr/sbin/exim`).

# Setup Triggers for Exim integration

Use Triggers to turn raw metrics into actionable alerts. Common patterns include:

- **Queue size threshold**  
  - _Condition_: `queue_size > 500` for 5 min

# Next steps

- Create dashboards to track queue length trends next to SMTP response time checks.
- Correlate Exim Triggers with RBL or outbound SMTP monitors to pinpoint root causes quickly.
