Skip to content
Documentation

Installing the Customer Edition

The Customer Edition runs entirely on your infrastructure: the monitoring console (Next.js), the monitoring API and background worker (Spring Boot, Java 21), MariaDB 11.8 and Nginx, orchestrated by Docker Compose. Monitoring data, payloads and credentials never leave your server. The license is a file the IntegrationGuard website makes for the installation; nothing contacts the vendor unless you set a license server (IG_LICENSE_SERVER_URL).

1. Requirements

Minimum Recommended
CPU 2 vCPU (x86_64 or arm64) 4 vCPU
Memory 4 GB 8 GB
Disk 20 GB free 100 GB SSD (monitoring history grows with retention)
OS any Linux with Docker Engine 24+ and Compose 2.24+ Debian 12/13, Ubuntu 22.04/24.04 (tested; --install-dependencies supported)
Network ports 80 and 443 reachable by users; outbound HTTPS for monitoring checks

A host name in your DNS (for example monitoring.example.com) is recommended; an IP address works too.

2. Install

With one command

Run it on the server as root or with sudo:

curl -fsSL https://integrationguard.improvedata.me/downloads/install.sh | sudo bash
  • What it does. It takes the latest version of the download folder (--version X.Y.Z for another one). It checks the release's signed list of files (SHA256SUMS and its signature) with the IntegrationGuard release key built into the script, then the package against that list, and refuses anything else before unpacking it. It installs Docker when it is missing, unpacks IntegrationGuard into /opt/integrationguard and runs install.sh, which asks for the host name users open in the browser.
  • What it prints. The console's address and the one-time setup token.
  • Your own options. Add --server-name monitoring.example.com --yes to ask nothing; other options of install.sh pass through (sudo bash -s -- --server-name …). --dir chooses another folder.
  • Updates. sudo integrationguard update installs the latest version (--version X.Y.Z another one); it takes an encrypted backup first. The one-line command does the same on an installed server.
  • The integrationguard command. The script installs it for what comes after: status, ps, logs, backup, restore, update, preflight, diagnostics and version.

The release key's fingerprint is on the website's Releases page. To read the script before running it: curl -fsSLO https://integrationguard.improvedata.me/downloads/install.sh, then sudo bash install.sh.

The server builds the IntegrationGuard images from the release's files. Docker Hub provides the base images (the Java runtime, Node.js, MariaDB and Nginx), so the server needs to reach it during the installation and updates. On a server without internet access, use the package with its images (below).

By hand

Download the deployment package from the website's Releases page (https://integrationguard.improvedata.me/releases), with SHA256SUMS, SHA256SUMS.sig and the release key, and verify it (release management, section 4). On a server without internet access, sudo bash install.sh --file integrationguard-customer-edition-X.Y.Z.tar.gz does the same as the one-line command, with SHA256SUMS and SHA256SUMS.sig next to the file. A package built with Docker carries the container images (images/, for x86_64 and arm64 servers): that server needs no access to a container registry, and installs without internet access. A package built on the release manager's computer carries the release's files instead (artifacts/), from which the server builds its images.

bash verify-release.sh --key integrationguard-release-key.pem --fingerprint "<published fingerprint>" \
  SHA256SUMS integrationguard-customer-edition-1.0.0.tar.gz
sudo mkdir -p /opt/integrationguard && sudo tar -xzf integrationguard-customer-edition-1.0.0.tar.gz \
  -C /opt/integrationguard --strip-components=1
cd /opt/integrationguard/customer-edition
./preflight.sh                                         # checks the server; changes nothing
sudo ./install.sh --server-name monitoring.example.com

preflight.sh reports whether the server is ready:

  • the platform, Docker and Compose;
  • free ports 80 and 443 and a synchronized clock;
  • that the host name resolves;
  • the images file of the package for this server, against its checksum;
  • HTTPS to the license service, when one is set (IG_LICENSE_SERVER_URL; license files need none).

Fix what it marks FAIL; warnings are advice. From a checkout of the repository the same package is in infrastructure/deployment/customer-edition (it then builds the images from source).

Useful options (./install.sh --help):

Option Effect
--install-dependencies installs Docker Engine, the Compose plugin and helper packages from Docker's apt repository (Debian/Ubuntu)
--tls-mode provided uses your certificate from tls/fullchain.pem + tls/privkey.pem instead of a self-signed one
--no-schedule skips the cron jobs (daily encrypted backup, health check every 15 minutes)
--yes non-interactive

The installer performs, in order: OS/architecture validation · Docker and Compose checks · dependency installation (when asked) · directories · .env creation with generated secrets (mode 0600) · TLS · images loaded from the package or built from its files · start · Flyway migrations · health checks through Nginx · cron jobs · summary with URLs.

It ends by printing a one-time setup token. Open https://monitoring.example.com/setup, enter the token and create the first administrator and your organization (a default project with a production environment is created). The token is also stored as IG_SETUP_TOKEN in .env; it stops working once setup is complete.

Store .env and secrets/backup-passphrase in your password manager. IG_ENCRYPTION_KEYS protects credentials stored in the database and the passphrase is needed to restore backups.

License the installation

A new installation is read-only until it has a license: the console shows data but cannot change anything, and no check runs (an installation upgraded from a release without licensing keeps working for 14 days). A system administrator licenses it under Settings → License:

  1. The page shows the installation's ID. Get a license file opens the website's License page (https://integrationguard.improvedata.me/license?installation=<ID>) with the ID filled in.
  2. Enter the license key there: the trial key from the Download page, or the key of a paid license (e-mailed with the receipt of its invoice). The website makes the installation's file and e-mails a copy to the license's address.
  3. Import the file on the same page of the console.

A server without a browser gets its file with curl:

curl -fsS -H 'Accept: application/vnd.integrationguard.license' \
  --data-urlencode licenseKey=IGL-XXXXX-XXXXX-XXXXX-XXXXX --data-urlencode installationId=<ID> \
  https://integrationguard.improvedata.me/api/license-file -o integrationguard.lic

A file is valid until the end of the license term. When the license is renewed (the website's Renew page), the new files of its installations are e-mailed: import yours before the old one ends. A file made later with new terms (more installations, another plan) replaces the earlier one. Each installation takes one of the license's places; making its file again takes none. The files are verified with the license keys built into the release, never with a key of the settings.

Nothing is sent to the vendor to license an installation: the file is all it needs. (A vendor that runs a license server can set IG_LICENSE_SERVER_URL: then Activate takes the key online and the installation validates once a day, sending only licensing data — the license key or ID, the installation's ID and name, the version, a hashed fingerprint and usage counts.) Without a valid license (the license has ended, or no file was imported) the installation becomes read-only again; nothing is deleted and everything comes back as soon as a valid file is imported. ./status.sh reports the license state.

3. TLS certificates

IG_TLS_MODE Use when Notes
self-signed (default) evaluation, internal networks generated for IG_SERVER_NAME, valid 397 days, renewed by install.sh/upgrade.sh when fewer than 30 days remain; browsers warn until the certificate is trusted; HSTS is off
provided production copy fullchain.pem (certificate + intermediates) and privkey.pem into tls/, run ./install.sh again; the key is checked against the certificate; HSTS is on

After replacing a provided certificate, run ./install.sh (or wait: Nginx reloads every 6 hours).

4. Configuration

All settings are in .env (template and comments: .env.example). After editing run ./install.sh again — it keeps existing values and data and applies the change. Frequently changed values:

Setting Default Meaning
IG_SERVER_NAME — host name or IP address in the browser
IG_PUBLIC_HTTP_PORT, IG_PUBLIC_HTTPS_PORT 80, 443 published ports (127.0.0.1:8443 binds one interface)
IG_CONSOLE_URL https://IG_SERVER_NAME (with the HTTPS port when not 443) address used for links in alert e-mails; set it when users reach the console through another proxy or name
IG_LICENSE_FILE_URL https://integrationguard.improvedata.me/license the website's License page, which Settings → License links to with the installation ID
IG_LICENSE_SERVER_URL empty a license server for online activation (HTTPS; http:// only for localhost); empty: license files only
IG_VERSION 1.0.0 release; change with ./upgrade.sh --version
IG_IMAGE_SOURCE, IG_IMAGE_REGISTRY auto, empty archive: the images file in the package's images/ (what auto picks when the package has one). artifacts: built on the server from the release's files in artifacts/ (what auto picks in a package without images; Docker Hub provides the base images). pull: from IG_IMAGE_REGISTRY, a registry or mirror of your own. build: from the sources, inside the repository
IG_IMAGE_ARCHIVE — another images file to load, instead of the package's own
IG_SESSION_IDLE_TIMEOUT, IG_SESSION_ABSOLUTE_TIMEOUT 12h, 7d console sessions
IG_INGEST_PER_MINUTE 1200 execution reports and heartbeats accepted per API key and minute (HTTP 429 above)
IG_INTEGRATION_DEFAULT_TIMEOUT 24h running executions without a result are timed out after this, unless their integration or job sets a timeout
IG_INTEGRATION_RETENTION 90d how long the execution history of integrations and jobs is kept
IG_WEBHOOK_MAX_BODY_BYTES 1048576 largest webhook body any endpoint may accept (each endpoint sets its own limit up to this)
IG_WEBHOOK_DELIVERY_THREADS 8 webhook deliveries sent at the same time by the worker
IG_WEBHOOK_RETENTION 30d how long received webhook events and their deliveries are kept (events with queued deliveries or dead letters stay)
IG_SFTP_MAX_CHECKSUM_BYTES 268435456 bytes one SFTP check downloads at most to compute checksums of new files
IG_SFTP_HISTORY_RETENTION 180d SFTP transfer history entries not seen for this long are deleted
IG_AGENT_REPORTS_PER_MINUTE 30 reports accepted per Linux agent and minute (HTTP 429 above)
IG_AGENT_MAX_REPORT_BYTES 524288 largest agent report, also after gzip decompression
IG_AGENT_SAMPLE_RETENTION, IG_AGENT_HOURLY_RETENTION 7d, 400d how long raw agent samples and hourly agent aggregates are kept
IG_INCIDENT_GROUP_WINDOW, IG_INCIDENT_DIGEST_DELAY 15m, 5m alerts of grouping rules join the open incident while its latest alert is this recent, and are announced together after the delay
IG_INCIDENT_AUTO_CLOSE, IG_INCIDENT_RETENTION 7d, 400d resolved incidents are closed after this long; closed incidents are deleted after the retention
IG_LOG_RETENTION, IG_LOG_ENTRIES_PER_MINUTE 14d, 60000 how long log entries are kept (whole days), and entries accepted per API key and minute
IG_METRIC_MAX_SERIES_PER_PROJECT, IG_METRIC_POINTS_PER_MINUTE 500, 20000 custom metric series a project may create, and points accepted per API key and minute
IG_METRIC_MINUTE_RETENTION, IG_METRIC_HOURLY_RETENTION 7d, 400d how long minute and hourly metric aggregates are kept
IG_STATUS_PAGE_REQUESTS_PER_MINUTE 120 requests per client address and minute to public status pages (HTTP 429 above)
IG_REPORT_MAX_ROWS, IG_REPORT_MAX_ATTACHMENT_BYTES 5000, 8388608 rows one report holds, and the largest report e-mailed as an attachment (larger ones are linked)
IG_TELEGRAM_API_URL, IG_CHAT_NOTIFICATION_TIMEOUT Telegram's, 10s the Telegram Bot API address (a local Bot API server may replace it) and the timeout of chat and webhook notifications
IG_BACKUP_SCHEDULE, IG_BACKUP_RETENTION_DAYS, IG_BACKUP_MIN_KEEP, IG_BACKUP_DIR daily 02:17, 14, 3, ./backups backup policy
IG_RESTORE_CHECK_SCHEDULE Sunday 04:47 weekly restore test of the newest backup (restore.sh --verify); off disables it
IG_*_MEMORY_LIMIT see file container memory limits

After setup, configure in the console (as a system administrator):

  • Administration → E-mail — the SMTP server for alert notifications (STARTTLS, implicit TLS, or unencrypted for a relay on the same host); Send test message checks it. The password is stored encrypted and never shown again.

  • Administration → Network access — monitors reach public addresses only. Allow the private ranges your monitors must check (for example 10.20.0.0/16); loopback, link-local/metadata and reserved addresses stay blocked.

  • Settings → Notifications and Alert rules — who is notified, and when monitors, integrations and jobs raise alerts. Channels are e-mail, Slack, Microsoft Teams, Telegram or your own webhook; chat and webhook messages leave from the monitoring-worker container over HTTPS (port 443 to hooks.slack.com, your Teams webhook host, api.telegram.org or your webhook receiver), through the same network policy as monitors. Escalation policies page further channels while an incident stays unacknowledged; Maintenance holds back alerts during planned work.

  • Status pages — each page is published at https://IG_SERVER_NAME/status/<address>. Public pages need no sign-in: if the console itself should stay internal, expose only /status/, /api/public/ and the Next.js assets (/_next/) to the internet. Private pages are shown to signed-in members only.

  • Logs and metrics — applications send structured logs to https://IG_SERVER_NAME/api/v1/ingest/logs and custom metrics to …/api/v1/ingest/metrics with an Ingest API key (see the REST API guide). Log entries are kept 14 days and metric aggregates 7 days (per minute) and 400 days (per hour) by default; plan the database disk for your log volume — roughly the size of the entries sent per day times the retention.

  • Reports — reports are e-mailed through the SMTP server of Administration → E-mail; set IG_CONSOLE_URL so the links in report and incident messages open the console.

  • Settings → API keys — keys with the Ingest scope for the systems that report integration runs, job executions and heartbeats (the Java SDK or plain HTTPS calls to https://IG_SERVER_NAME/api/v1/ingest/…).

  • Webhooks — each incoming endpoint gets an address https://IG_SERVER_NAME/api/v1/hooks/wh_… for your partners. It must be reachable from where they send from: open port 443 to them (only /api/v1/hooks/ needs to be public; restrict the rest in your firewall or reverse proxy if the console should stay internal). Destinations in private networks need a rule under Network access, like monitors.

  • Infrastructure → Linux agents — register an agent per host; the console shows its token once with the commands that download the agent from this server, verify its SHA-256 and install it as a systemd service. The host must reach https://IG_SERVER_NAME/api/v1/agent/report on port 443 (only that path and /api/v1/agent/download/ need to be reachable from your servers). With a private certificate authority install with --ca-file; with the self-signed certificate copy this installation's tls/fullchain.pem to the host and install with --ca-file fullchain.pem (optionally also --pin, see agent/README.md in the source).

  • Ping and database monitors — ping runs in the worker container, which allows unprivileged ICMP sockets (net.ipv4.ping_group_range in docker-compose.yml; nothing to change on the host). Database monitors connect with an account you provide: give it read access to the tables its query needs and nothing else.

Checks, webhook deliveries, notifications, escalations and scheduled reports run in the monitoring-worker container (the API container only stores definitions, receives webhooks, logs and metrics, and queues Test requests), so a check or a delivery never runs on a request thread. Check results are kept 30 days, hourly statistics 400 days.

5. Operations

./status.sh                       # containers, database, disk, memory, CPU, backups, certificate
docker compose logs -f monitoring-api   # application logs (all logs: docker compose logs)

Deployment actions are logged with UTC timestamps in logs/deploy.log; health checks in logs/status.log. Containers restart automatically (restart: unless-stopped); container logs rotate at 20 MB × 5 files.

Backups

backup.sh writes backups/integrationguard-customer-<UTC time>.tar.gz.gpg and a .sha256 file. The archive contains a consistent mariadb-dump --single-transaction of the database, .env, the tls/ folder, a manifest and checksums, encrypted with GnuPG AES-256 (passphrase: secrets/backup-passphrase). Backups older than IG_BACKUP_RETENTION_DAYS are deleted, always keeping the newest IG_BACKUP_MIN_KEEP.

Copy backups off the server regularly (for example rsync backups/ backup-host:/srv/integrationguard/) or point IG_BACKUP_DIR at a mounted remote file system.

Every week the newest backup is restored into a separate check database and examined (./restore.sh --verify --latest, which you can also run at any time); ./status.sh reports a failed or overdue test. Details, and restoring on a new server after losing this one: backup and restore.

Restore

./restore.sh backups/integrationguard-customer-20260101T021700Z.tar.gz.gpg

The script verifies the checksum, decrypts, checks the manifest (edition, version, schema), backs up the current database (pre-restore), stops the applications, replaces the database, starts everything and verifies health.

Upgrade

New versions are on the website's Releases page, with their notes. The simplest way:

sudo integrationguard update                  # the latest version; --version X.Y.Z for another one

It checks the release's signature and the package as the one-line installer does, then runs upgrade.sh. By hand, verify the package, unpack it over the installation and upgrade:

./common/verify-release.sh --key integrationguard-release-key.pem SHA256SUMS integrationguard-customer-edition-1.1.0.tar.gz
tar -xzf integrationguard-customer-edition-1.1.0.tar.gz -C /opt/integrationguard --strip-components=1
cd customer-edition && ./preflight.sh && sudo ./upgrade.sh --version 1.1.0

Takes an encrypted pre-upgrade backup, adds new settings from .env.example, loads the new images from the package's images/, recreates changed containers (Flyway migrates on start), waits for every health check and verifies the endpoints. Once the new version runs well, the images files of older versions in images/ can be deleted; keep the previous one until you no longer need a rollback. Migrations are forward-only: if something fails, the script prints the exact restore.sh --with-config command that returns to the previous release and data. The upgrade guide covers the steps and the rollback.

Move to another server

  1. On the old server: ./backup.sh and copy the backup and secrets/backup-passphrase to the new server.
  2. On the new server, with the same package version: ./restore.sh --with-config --passphrase-file /path/backup-passphrase /path/backup.tar.gz.gpg — this restores .env (secrets, encryption keys, versions) and certificates, loads the images of the package, restores the data and starts everything.
  3. Point your DNS at the new server.

The installation ID travels with the database, so the license keeps working on the new server; switch off the old one (two servers with one installation ID would share one license slot).

Getting help

Send a request from the website's Support page (https://integrationguard.improvedata.me/support), with the license key and the installation ID when you have them. For installation and monitoring problems prepare a diagnostic package:

./diagnostics.sh                  # writes diagnostics-<host>-<UTC time>.tar.gz (mode 0600) next to the scripts

It contains versions, container states, the status.sh report, .env with the value of every password, key, token and secret replaced by <redacted>, and the last 2,000 log lines of each container with those values, authorization headers, passwords in URLs and license keys removed. It never contains the database, backups, the secrets folder or TLS keys. Look through it before attaching it (tar -tzf, then the files).

6. Troubleshooting

Symptom Check
install.sh stops at a health check the script prints the last 40 log lines; docker compose logs <service>
monitoring-api unhealthy after an upgrade docker compose logs monitoring-api — a failed Flyway migration names the script; restore the pre-upgrade backup
Browser warns about the certificate expected with self-signed; install a provided certificate
/setup says setup is not enabled IG_SETUP_TOKEN is empty in .env; run ./install.sh to generate one
HTTP 502 from Nginx the application container is restarting; ./status.sh
A monitor fails with "Not checked: Address … is in a private network" allow the range under Administration → Network access
Ping monitors fail with "ping: socket: Operation not permitted" the worker container lost net.ipv4.ping_group_range (a modified docker-compose.yml or a runtime without sysctl support); restore the sysctls entry of monitoring-worker
An agent stays Waiting or turns Offline on the host: sudo integrationguard-agent check (connection and token), journalctl -u integrationguard-agent; the token was rotated → echo 'iga_…' | sudo integrationguard-agent set-token --token-stdin
An agent reports a clock difference enable time synchronization on the host (timedatectl set-ntp true); samples are corrected meanwhile
Alert e-mails do not arrive Settings → Notifications → delivery log shows each message with its error; Administration → E-mail → Send test message
Links in alert e-mails point to the wrong address set IG_CONSOLE_URL in .env, run ./install.sh
Disk almost full ./status.sh; lower IG_BACKUP_RETENTION_DAYS, move IG_BACKUP_DIR, docker image prune
Lost .env restore it from a backup: restore.sh --with-config (without IG_ENCRYPTION_KEYS stored secrets cannot be decrypted)
Every change answers "license_restricted" Settings → License explains why (no license, grace over, suspended, revoked, ended) and how to restore it
The License page says the license is in use on all its installations ask the vendor (Support) to free the place of a retired server, or to add installations (Order)
The License page says the license ended renew it on the website (Renew); the new files are e-mailed once the invoice is paid
Activation says the license server cannot be reached with IG_LICENSE_SERVER_URL set, the server needs HTTPS access to it (proxy, firewall, DNS); a license file needs none
"License not confirmed" banner the daily validation fails (Settings → License shows the error); the installation keeps working until the date shown