How X-Road operational monitoring shows request statistics and server health
Operational monitoring tells an X-Road operator how many requests a Security Server handled, which ones failed, and whether the server is healthy. Teams need it once a Security Server carries production exchanges, because request counts, failure patterns and health signals are the first evidence of trouble. The records come from each Security Server, where the messages pass. In a deployment, the main components are the Central Server, the Security Server and the Configuration Proxy. This page concerns the Security Server's per-request statistics and health data, and the Central Server and Configuration Proxy matter when you need to tell whether a failure starts in exchange or in configuration.
Memory is the first sizing check before you enable monitoring. The Security Server installation guide sets a minimum of 3 GB RAM on the supported platforms, Ubuntu Server 22.04 and 24.04 LTS on x86-64 and Red Hat Enterprise Linux 8 and 9, and raises that minimum to 4 GB with monitoring add-ons. Check the memory on every Security Server, including any node you add later, and build the increase into your virtual machine templates so a rebuilt server does not start below the floor. The same guide requires PostgreSQL, local or remote, including managed services. Confirm with your platform and database teams how much capacity that database needs once monitoring runs at your traffic volume.
This page covers what operational monitoring records for each request, who can query those records, how the buffer and daemon handle them, and how the data reaches a dashboard or a central monitoring client. Settle access before you turn the data on. The Security Server user guide defines a Security Server Observer role, and you should confirm whether that role, or a narrower one, should see request-level records at your organization. Environmental monitoring, diagnostics, system service logs and memory tuning each have their own pages, so this section refers to them only where the same server is involved. Use the health signals here as the starting point for a daily check, then move to those pages when a signal needs more detail.
What X-Road operational monitoring records for each request
Operational monitoring keeps a record for each exchanged request, and the four groups below show what that record holds. Each group answers a different operator question, so a dashboard or alert built on one group still needs the others to explain a change.
Request identity and counts
Each record identifies the parties and the service involved, and the counts show how often each combination was called over time. The operator question is which members and services carry the traffic, and how much. Use the counts to confirm that a new integration is live and to spot a consumer whose volume has changed. Confirm the exact field names and how long records are kept in the Security Server user guide for your release before you build a dashboard on them.
Security Server user guideTiming of each request
Timing data shows how long requests take to complete. It helps the team judge whether a slowdown sits with the Security Server or with the provider's information system, provided the stored timing values allow that split. The operator question is where the time goes when exchange slows down. Compare current figures with a baseline from a quiet period, and watch for a rise that affects one service while the others stay flat. Confirm which timing values are stored, and their units, in the Security Server user guide for your release.
Security Server user guideOutcome and fault indicators
Outcome data records whether a request succeeded or ended in a fault, which lets the team see error rates per service and per consumer. The operator question is are requests succeeding, and which faults keep recurring. A rise in faults from one consumer often points to a certificate, access rights or endpoint change, while a rise across all consumers points toward the provider or the Security Server. Match recurring faults to the fault detail in the logs, and confirm in the user guide which fault categories are recorded.
Security Server user guideServer health counters
Health counters describe the state of the Security Server itself, so the team can tell whether slow or failing exchange is caused by the host. The operator question is is this Security Server under pressure. The supported minimum is 4 GB RAM with monitoring add-ons, compared with 3 GB without them, so plan memory before enabling those add-ons. Check counters against the same timestamps as request data, and confirm the exact counter names and retention in the Security Server user guide for your release.
Security Server user guideConfiguration options and when each fits
This table compares four ways to read operational monitoring data, from the views built into the Security Server to a central monitoring client run by an ecosystem operator. Read each row for the team it suits, who runs it, what it adds to Security Server load and what you must confirm before choosing. Start with the option your team can operate, and treat any dashboard feed as a build item to confirm before work starts.
| Option | Best fit and who runs it | Added load and what to confirm |
|---|---|---|
| Built-in views on the Security Server | Small members with few services; run by Security Server administrators | Adds no separate component. Confirm which defined roles, including Security Server Observer, can see which records and how far back the views reach. |
| Local reader over stored records | Teams that need ad hoc queries or exports; run by platform engineers with database access | Adds read queries against stored data. Confirm the storage layout, the access path and that reads are safe while the daemon writes. |
| Dashboard tool fed by a collector | Teams with an existing Grafana or Prometheus stack; run by the observability team | Adds a collector polling the Security Server; the install guide sets 4 GB RAM with monitoring add-ons. Confirm whether the docs describe an export interface or the team must build one. |
| Central monitoring client | Ecosystem operators watching many members; run by the central operator | Adds remote queries to each Security Server. Confirm the interface, the access rights granted to the operator and whether your release supports it. |
Request records reach dashboards through a buffer and a database
The flow starts when an information system sends a service request through the Security Server proxy. Each request produces a record that passes through the monitoring buffer, which the monitoring daemon writes to the PostgreSQL database. Operator views and a dashboard read from that database inside the member network. The central monitoring client sits outside the member boundary, so the data crossing that edge needs deliberate access limits and review. This is a simplified view. Check component names, service names and the data path against the documentation for the X-Road release you run before you rely on it.
Simplified view of record flow; confirm component names against the release docs.
Who can query which monitoring records on a Security Server
The Security Server defines five user roles: Security Officer, Registration Officer, Service Administrator, System Administrator and Security Server Observer. The role a person holds governs what they can do in the admin interface, so role design is the first control for monitoring data. Map each role to a named job before granting access, for example an operator who investigates slow requests or a reviewer who only needs health status. Then confirm in the Security Server user guide which of the five roles can read operational monitoring data, and test that answer on your own version before relying on it.
Admin users authenticate through PAM, and PAM can use SSSD to reach an LDAP directory, with LDAP groups mapped to X-Road roles. That means directory membership decides who holds a role. Operations staff who watch request statistics and health can sit in one group, while people who change members, services or keys sit in another, so the separation is enforced at login and can be audited there. The main risk is a wrong mapping, which can give an operator configuration rights or leave the on-call team without monitoring access. Test each group mapping with a non-production account, record which directory groups map to which roles, and review membership on the same schedule as other privileged access. Also confirm how long SSSD caches group membership on your hosts, because a removed user may keep access until the cache refreshes.
Role separation on the admin interface does not settle whether the query path for monitoring records has its own access control, and that question must be answered before go-live. Confirm whether a read of operational monitoring data goes through the same admin login and role checks, whether a separate credential or API key is involved, and whether an Observer-level account can see per-request records or only summaries. Also confirm which networks can reach the admin UI on TCP 4000, because the installation guide places that port on internal networks, and monitoring data is only as protected as the path to it. Write these answers into the access design so that the people who approve dashboards know who can see what.
Setting up X-Road operational monitoring and checking that records arrive
This sequence takes a Security Server from a supported platform to operational monitoring that you have verified end to end. Each step closes with a check you can record, so you know records are produced, stored and readable by your chosen consumer before you rely on them. Take exact commands and settings from the user guide for your release.
Confirm the supported platform and sizing
Your platform team confirms the operating system and sizing before any change is made. The supported platforms are Ubuntu Server 22.04 or 24.04 LTS on x86-64, or Red Hat Enterprise Linux 8 or 9. Plan for at least 4 GB of RAM with monitoring add-ons and 3 GB of free disk space. Check the OS release, memory and free disk against these figures and the requirements in the installation guide for your release. The step is done when all three match and the results are recorded in your change ticket.
Confirm the PostgreSQL option
Your database team chooses between a local PostgreSQL instance and a remote one, including managed services such as AWS RDS or Azure Database for PostgreSQL. Confirm the PostgreSQL version your release supports in the installation guide, and open the network path from the Security Server to the database. Create the database and the account the Security Server will use, and store its credentials in your normal secrets process. The step is done when the Security Server connects to the database successfully from the Security Server host.
Enable and configure operational monitoring
The administrator installs the monitoring add-on and enables operational monitoring using the procedure in the user guide for your release. Set the options your security and data handling policy requires, and write down each value you changed. Restart a service only when the guide directs you to. The step is done when the configuration is saved, the Security Server logs show no errors after the change, and the settings read back exactly as you recorded them.
Send test traffic through a test service
In a test environment, publish a test service and call it through the Security Server from a consumer system that holds the access rights for it. Send a small, known number of requests and write down the time, the service and the outcome of each one. Include at least one request that you expect to fail, such as a call made without the right access rights, so you can confirm that failures are recorded too. The step is done when each request returns the result you expected and your list matches what you sent.
Verify that records appear
Query the operational monitoring data using the method and role described in the user guide, with an account that has permission to read it. Compare the returned records with your list from the test traffic, checking the service, the time and the outcome of each request. Confirm that both successful and failed requests are present. The step is done when every test request has a matching record. If records are missing, move to the next step before you change the configuration.
Confirm the buffer and daemon are running
Check the status of the operational monitoring buffer and its daemon with the service tools described in the guide for your release. Both should report running, and their logs should show no repeated errors. Send one more test request and confirm that its record reaches the store within the delay your monitoring policy allows. The step is done when both components report running and the new record appears in the query results.
Connect the chosen consumer
Connect the dashboard tool or central monitoring client you selected, using a read-only account and the access method documented for your release. Confirm which records that account can see, and check that this matches the role you assigned to it. Confirm the consumer can read the test records you verified earlier. The step is done when the consumer displays the same test records as the direct query, and the account has no more access than the consumer needs.
Test a restart and confirm records persist
Restart the Security Server service using the procedure in the guide, during a window your change process approves. After the service returns, send a test request and confirm that it is recorded. Check that the records created before the restart are still present in the store and in the consumer. The step is done when the post-restart request appears, the earlier records remain, and the buffer and daemon report running again.
Sizing monitoring for a single server or a clustered Security Server
A single Security Server keeps its monitoring records on the same host that handles message traffic, so one host carries the whole picture. The installation guide sets the floors at 3 GB RAM and 3 GB free disk, and 4 GB RAM when monitoring add-ons are installed. Size for the add-on figure, because monitoring is the feature you are planning around.
- Memory: Start from 4 GB RAM if the monitoring add-ons are installed, and confirm with the vendor whether your expected message volume needs more.
- Disk: Keep 3 GB free as the floor for the operating system and packages, then add headroom for monitoring database growth that you measure during a pilot.
- Where records land: Confirm in the user guide which database the operational monitoring daemon writes to, and whether it shares the Security Server's PostgreSQL instance.
- Retention: Ask for the default retention period, the setting that changes it, and who has rights to purge records.
- Collection: With one node, all request records come from the local daemon, so confirm that no second source is needed for your dashboards.
Before go-live, check that the host has enough disk for the monitoring database and the message log together.
Several Security Servers behind a load balancer each record the requests they handle, so monitoring is a per-node question as well as a total. The minimums in the installation guide apply to every node, and the data you hold is the sum of what each node records. Plan the cluster as a set of nodes with identical settings, so their records can be compared over the same time window.
- Memory per node: Apply the 3 GB RAM minimum, or 4 GB with monitoring add-ons, to every node, not only the first one you install.
- Disk per node: Size each node for its own records, since growth depends on the traffic that node actually receives.
- Where records land: Confirm whether each node writes to its own database or all nodes share one, because a shared database changes growth, backup and purge planning.
- How records are gathered: Confirm whether monitoring data is queried per node or can be combined centrally, and whether load balancer health checks appear in request statistics and inflate the counts.
- Retention: Confirm the retention setting is identical on every node, so the totals you report cover the same period.
Before you compare cluster totals, ask for a per-node table of memory, disk and database location.
The Security Server can use a remote PostgreSQL service, including managed services such as AWS RDS and Azure Database for PostgreSQL. The database then grows on storage that the provider manages, but the host still needs the floors from the installation guide: 3 GB RAM, or 4 GB with monitoring add-ons, and 3 GB free disk. Moving the database off the host changes your storage planning, not the host minimums.
- Host floors: Keep the 3 GB RAM minimum, or 4 GB with monitoring add-ons, and the 3 GB free disk floor on the Security Server host itself.
- Where records land: Confirm whether monitoring tables sit in the same managed instance as the Security Server database or in a separate database that you must provision.
- Database growth: Ask the provider how storage grows, whether storage autoscaling is enabled, and how monitoring tables count toward the storage you pay for.
- Retention and purge: Confirm who can purge monitoring tables on the managed instance, and that scheduled purge jobs can reach it.
- Network path: Confirm the latency and network route between the host and the managed endpoint, since monitoring writes depend on it.
Before you plan storage, confirm that the monitoring daemon can connect with the credentials you issue to it.
Security risks in monitoring data and how to contain them
Monitoring records describe who exchanges data with whom, how often, and how well each service responds. The four controls below keep that picture contained: who can query the records, where they are stored, who administers the system, and which network paths reach them.
Narrow query access to records
Monitoring records show which services a member calls, which member identifiers appear in exchanges, and the traffic pattern over time. Grant query access per named role and per purpose, and treat anyone or anything that can read the statistics as a holder of sensitive data. Confirm in your own environment whether any monitoring record ever contains message content, because that answer decides how widely the data can be shared. Keep a written list of who may query, and review it whenever roles change.
Protect the records database
The Security Server requires PostgreSQL, either local or a managed service such as AWS RDS or Azure Database for PostgreSQL. Confirm which database and tables hold your monitoring records, then give the server and any reader separate database accounts with only the privileges each needs. Restrict network access to the database so that only the Security Server and approved readers can connect, and encrypt connections. Include the database in backup planning, with defined retention and restore tests, and confirm that backup copies carry the same access controls as the live data.
Harden admin accounts
Admin users authenticate through PAM, and LDAP integration via SSSD can map LDAP groups to X-Road roles. Follow the hardening guide on every Security Server and Central Server. It recommends locking an account for 15 minutes after 3 failed logins, using passwords of at least 16 characters, and allowing only key-based SSH. Give read-only users the Security Server Observer role where it fits, and apply the same checks to any service account that reads monitoring data.
Hardening guidelinesReview dashboard and collector paths
A dashboard or collector that pulls monitoring data opens a network path that needs its own port and TLS review before it goes live. List each new source and destination, the TCP port it uses, and whether it crosses a trust boundary. Check the TLS configuration on every path, including certificate validity, the protocol versions allowed, and who holds the private keys. Keep the admin UI on TCP 4000 and information system access on 8080 or 8443 limited to internal networks, and confirm that no new listener opens on the message exchange port 5500.
Installation guideLimits to confirm before you build dashboards on monitoring data
Confirm your X-Road release before you design a dashboard, because the monitoring data it reads depends on the version your Security Servers run. The current release is 7.8.3, and the supported versions listed on the X-Road releases page are 7.8.3, 7.7.4 and 7.6.5. Version 7.8.0, released at the beginning of February 2026, is the last new-feature release of X-Road 7. NIIS intends to keep X-Road 7 maintained with bug fixes and security patches beyond 2026, but it has not decided how long that maintenance period will be. Record this open question in your design notes, and ask your partner or NIIS for the support end date once it is published. Until then, plan an upgrade path that does not assume a fixed end of support.
Do not build production dashboards on X-Road 8 Spaceship yet. The version available for testing is 8.0.0 Beta 2, and the production release is scheduled for December 2026. A dashboard should not depend on beta behavior, because field names, metric labels, interfaces and data handling may change before the production release. Treat any Spaceship dashboard as a test artifact. Once the production release and its documentation are available, run a validation pass against them before you rely on the output. If you run 7.x today, keep your dashboard queries in version-controlled files with a note of the release each one was tested against, so a later move to 8 starts from a known baseline.
What X-Road operational monitoring setup costs and what it needs from your team
What drives the cost of setting up X-Road operational monitoring?
Cost follows the scope you agree in writing, and DeployOpen does not publish a price list, so a quote follows from that scope. The main drivers are:
- The number of Security Servers and whether each one runs the monitoring add-ons, which raise the memory floor to 4 GB RAM from 3 GB (Security Server installation guide).
- Where the data goes: one dashboard, a log platform or a central monitoring client, each with its own configuration and tests.
- Your PostgreSQL setup, local or managed, and how quickly access is granted.
- Whether retention, alerts and access roles must be documented for auditors.
Ask the quote to list each server, each destination, the test steps and the handover items. Setup is one-time work. Ongoing checks and upgrades recur, either on your team's time or under a retainer.
Can our own team set up X-Road operational monitoring without outside help?
Yes, if your team already runs Linux servers, PostgreSQL and the Security Server, and can test changes outside production first. The work splits into server administration, database access, network rules and dashboard design. Access requests and test traffic can be the slowest part of the work. A partner helps most when nobody on your team has owned a Security Server before, when change windows are tight, or when auditors will ask how monitoring was built and tested. Confirm the skills your team has before deciding, and check that someone can own the dashboards after go-live. Whichever route you take, ask for the handover list in writing so your staff know which parts they will run after go-live.
How long does X-Road operational monitoring setup take and what sets that length?
The length depends on scope and your change process, so ask for a timeline in the written scope and test it against your approval cycle. The main drivers are:
- The number of Security Servers and their X-Road versions. The supported releases are 7.8.3, 7.7.4 and 7.6.5 on the X-Road releases page.
- The number of dashboards or monitoring clients that receive data.
- Change windows for each server, since monitoring changes touch running components.
- Whether a test environment already exists or has to be built first.
- How long access requests for databases, networks and dashboards take to approve.
Access and approvals often set the pace more than the technical steps. Ask for milestones that name who must act at each one, so delays are visible early.
What does operational monitoring setup need from our team?
Plan for four kinds of input before work starts, and write each one into the scope.
- Test traffic: someone must send representative requests through a test Security Server so the records can be checked before production.
- Database access: DeployOpen needs a defined route to the PostgreSQL instance your Security Server uses, with the privileges your policy allows.
- Dashboard owners: name the people who decide which fields, alerts and retention periods matter to your operations and audit teams.
- Change windows: agree when each Security Server can restart or reload services, because monitoring changes touch running components.
Also name a contact who can approve access requests within your normal cycle. Ask for the list of inputs to be part of the written scope, with an owner for each.
Do we need a central monitoring client for X-Road operational monitoring?
Not always. Confirm the need against the documentation for your X-Road version before you commit to a design. A central monitoring client is typically used when one party wants to gather operational data from several Security Servers into one view, which is common for an operator or a shared ecosystem. An organization with one Security Server can often read the data locally and feed its own dashboard. The choice changes the components you install, the network paths you must open and the team that owns each one. Check with your X-Road operator if you join an existing ecosystem. Decide early, and ask the partner to state in the quote which option is in scope and why.
What happens to operational monitoring during an X-Road upgrade?
Monitoring runs on the Security Server, so it can be interrupted while services restart during an upgrade. Confirm the exact behavior for your target version in the release notes before scheduling. Before the change window, agree which records must be kept, export or archive what your dashboards need, and decide how long the dashboards may show a gap. During the window, confirm that the monitoring services and buffer come back and that new records appear in the dashboards. Record any expected gap in the change ticket so operations and auditors see it. Include these checks and a rollback step in the written scope.
How DeployOpen scopes and delivers X-Road monitoring
DeployOpen plans X-Road operational monitoring as part of the Security Server build, starting from the questions your operators, auditors and dashboards need answered. We agree in writing which request statistics and health data get collected, who may query them, and where the data flows. Engagements are fixed-scope, so scope, deliverables and timelines are settled before work starts.
How we scope
- The written scope names which request records, health data and time windows the monitoring must cover.
- It records which roles and accounts may query statistics, and which systems may read health data.
- Fixed-scope terms, with ongoing support and continuous testing available as a retainer once monitoring is live.
How we build
- Confirm the Security Server version, platform and PostgreSQL setup, then size the monitoring buffer and daemon for expected volume.
- Configure collection and access rules in a test environment, then verify records match known test requests.
- Connect the dashboard or central monitoring client, and test that it reads the data without widening access.
How we hand over
- A written record of the collection settings, query permissions and buffer and daemon configuration, with versions noted.
- Runbook steps for checking health data, reading request statistics and reviewing who holds query rights.
- A walkthrough with your operations team on what each record and health check shows.
How we support
- Optional retainer covering upgrades, configuration changes and monitoring fixes after go-live, under a written agreement.
- Retest after X-Road upgrades or changes to the monitoring setup, so access rules and data flows still hold.
- Ask for the support scope in writing, including who responds to monitoring faults and within what hours.

