System Parameters
System parameters control OpSee's runtime behavior, from data ingestion worker settings to cache durations and batch sizes. Changes take effect immediately without requiring a restart.
Accessing parameters
Navigate to Admin → System Parameters (requires admin role).
Parameter categories
Data ingestion workers
| Parameter | Description | Typical Value |
|---|---|---|
| MQTT Worker enabled | Enable/disable MQTT data ingestion | true |
| MQTT Worker poll interval | Seconds between polling cycles | 5 |
| MQTT Worker debug | Enable verbose logging | false |
| OPC-UA Worker enabled | Enable/disable OPC-UA ingestion | true |
| OPC-UA Worker poll interval | Seconds between polling cycles | 10 |
| Discovery Worker enabled | Auto-discover new MQTT topics | false |
Cache settings
| Parameter | Description | Typical Value |
|---|---|---|
| Cache TTL | How long to cache API responses (seconds) | 300 |
| Menu cache TTL | How long to cache menu structure | 600 |
Batch processing
| Parameter | Description | Typical Value |
|---|---|---|
| Import batch size | Records per batch during import | 100 |
| Export page size | Records per page during export | 1000 |
Alarms
| Parameter | Description | Typical Value |
|---|---|---|
ALARM_DEFAULT_ON_DELAY_S | Seconds a set condition must stay true before the alarm is raised, when the condition sets no delay of its own (0–3600) | 0 |
ALARM_DEFAULT_OFF_DELAY_S | Seconds a reset condition must stay true before the alarm returns to normal, when the condition sets no delay of its own (0–3600) | 5 |
ALARM_CHATTER_EVENT_LIMIT | Set/reset event pairs written to one occurrence's timeline before further re-arms stop being recorded (0–100000, 0 = no limit). The default 0 records every re-arm, so the timeline shows each cycle. The alarm still changes state and stays in the list either way. Notifications do not depend on this setting: re-arms are never notified, only the raise, the first return to normal and the clear that closes the occurrence. See Alarm Lifecycle | 0 |
| Alarm evaluator enabled | Enable/disable the alarm_evaluator worker that evaluates every enabled alarm definition and drives the alarm lifecycle | true |
| Alarm evaluator poll interval | Seconds between evaluation cycles | 1 |
| Alarm notifier enabled | Enable/disable the alarm_notifier worker that routes alarm events to channels, delivers the outbox, fires escalations and prunes settled notifications | true |
| Alarm notifier poll interval | Seconds between outbox polls; the worker also wakes immediately on any alarm change | 5 |
Per-condition delays set in the alarm definition override the two defaults. See Alarm Lifecycle for how they combine with hysteresis.
Notifications
SMTP defaults for e-mail channels, flood control and retries for every channel. See Alarm Notifications for how they are used.
| Parameter | Description | Typical Value |
|---|---|---|
NOTIFY_SMTP_HOST | SMTP server hostname used by e-mail notification channels that do not carry their own | smtp.example.com |
NOTIFY_SMTP_PORT | TCP port of the SMTP server used by e-mail notification channels (587 = STARTTLS submission) (1–65535) | 587 |
NOTIFY_SMTP_FROM | Envelope sender address used for alarm e-mails | opsee@example.com |
NOTIFY_SMTP_USER | Username for SMTP authentication. The password lives in the encrypted channel URL, not here. | |
NOTIFY_SMTP_STARTTLS | Upgrade the SMTP connection to TLS with STARTTLS before sending credentials | 1 |
NOTIFY_MAX_PER_CHANNEL_PER_MINUTE | Notifications delivered per channel per minute before the notifier collapses the rest into one summary message (1–1000) | 20 |
NOTIFY_FLOOD_SUMMARY_WINDOW_S | Window over which suppressed notifications are collected into one summary message (10–3600 s) | 60 |
NOTIFY_RETRY_MAX_ATTEMPTS | Delivery attempts per notification before it is marked failed (1–10) | 3 |
NOTIFY_RETRY_BACKOFF_S | Base retry delay for a failed notification, multiplied by the attempt number (5–3600 s) | 30 |
NOTIFY_BASE_URL | Public address of this OpSee installation, used to build the deep links in a notification and the URL behind the phone Acknowledge button. Seeded empty: leave it empty to use the install's own domain (https://<SERVER_DOMAIN> from infra/.env), and set it only when phones reach OpSee on a different public URL. No trailing slash needed. | https://plant.example.com |
PLANT_TIMEZONE | IANA time zone of the plant, used to evaluate the on-call windows of routing rules and to render timestamps in notification messages. Lives in the System category because it is install-wide. An unknown or misspelled zone falls back to UTC instead of failing. | Europe/Brussels |
:::note No SMTP password parameter Every system parameter is returned verbatim to any admin and appears in plain text in database backups. The SMTP password is therefore entered in the e-mail channel dialog and stored encrypted with the channel, never as a parameter. :::
Retention
| Parameter | Description | Typical Value |
|---|---|---|
RETENTION_ALARM_DAYS | Days of alarm history kept by the retention worker (0–3650); 0 = keep forever. Covers both halves: the occurrences in whole 7-day chunks, so their effective horizon can exceed the value by up to one chunk, and their event timeline rows by exact-age delete. The timeline of an occurrence that is still open is kept regardless of age — it is what the operator reads in the detail drawer, so it is never aged out from under a live alarm. | 365 |
RETENTION_NOTIFICATION_DAYS | Days of settled notification outbox rows (a_alarm_notification) kept by the notifier (0–3650); 0 = keep forever. Pruned by the alarm_notifier worker with a plain delete, not by the retention worker, so the horizon is exact. | 90 |
Modifying parameters
- Find the parameter in the list
- Click Edit
- Enter the new value
- Click Save
Changes are applied immediately. The in-memory cache is refreshed automatically.
:::caution Performance impact Changing worker poll intervals affects system load. Very short intervals (< 2 seconds) may increase CPU and database usage. Monitor system performance after changes. :::
Next steps
- Grafana Integration — External dashboard configuration
- Data Tags — Tags that workers collect data for
- Alarm Administration — Definitions that the alarm workers evaluate
- Overview — Back to Administration overview
Prerequisites
- Admin Overview
- Introduction — get the overall picture of OpSee
Related
- Architecture Overview
- Cockpit — complementary module