X-Road environmental monitoring of Security Servers

Environmental monitoring gives platform teams OS, resource and package data from each Security Server, with access limited to the parties the owner authorizes. This page covers the setup, access decisions and fleet inventory and capacity uses.

On this page

How X-Road environmental monitoring of Security Servers supports fleet operations

A team running several X-Road Security Servers needs to know what each host runs, how loaded it is, and who else can see that data. Environmental monitoring collects OS, resource and package data from each Security Server over its environmental monitoring API, and access to that data can be limited. Two uses matter for fleet operations. Fleet inventory shows which packages and versions sit on each host, and capacity checks show whether a host has headroom for its message volume. Before you build a process on either, confirm the exact fields, collection intervals and API calls in the documentation for the release you run, since the current release is 7.8.3 and 7.7.4 and 7.6.5 are also supported. The Security Server runs on Ubuntu Server 22.04 and 24.04 LTS on x86-64, and on Red Hat Enterprise Linux 8 and 9. The installation guide lists 4 GB RAM as the minimum when monitoring add-ons are installed, so size each host with that figure in mind.

Treat this output as sensitive. A package list with exact versions tells an outsider which weaknesses to try, so decide who may read it before rollout. The Security Server defines five user roles, including Security Server Observer, and admin users can be authenticated through PAM with LDAP groups mapped to X-Road roles. Confirm in the release documentation whether environmental data follows those roles, the roles on API keys, or a separate setting, then test that a read-only account sees only what you intended. For fleet inventory, match the package data against your patch records for each host. For capacity checks, record a baseline per host over a normal business cycle, then agree in advance which level triggers adding a server or raising memory, using your own message volumes as the input.

Monitoring data reaches fleet review only after an owner-authorized check

This illustrative flow starts on the Security Server host, which holds operating system, resource and package data. The environmental monitoring API on that host answers only after an access check admits a caller the owner has authorized. The collector, run by the owning member inside its own network, is one such caller and writes its results to a store. The fleet inventory and capacity review reads that store. Non-owner callers meet the same check and stop there, outside the trust boundary. Check that the authorization list matches who you intend to see host data, and confirm the exact API endpoints and access settings in the release documentation.

Illustrative flow: monitoring data moves inside the owner's network.

Configuration options for X-Road environmental monitoring

This table compares the four decisions that shape environmental monitoring of Security Servers: which fields to collect and how often, who may read them, where collection runs, and where the data is kept and for how long. Read each row as a choice with a best fit and an operating cost. The main takeaway is that the field list and polling interval must be confirmed against the API for your X-Road release before you fix the storage and access design.

DecisionOptionsWhen it fitsOperating effort
Fields collectedAll fields the API exposes, or a reduced set chosen for inventory and capacityFull set fits fleet inventory and capacity reviews. Reduced set fits a stricter data minimization review.Confirm the exposed field list for your release in the API reference before writing collection rules.
Pull intervalFrequent polling, or slower scheduled pullsFrequent polling fits capacity checks on busy servers. Slower pulls fit inventory snapshots.Frequent pulls add load on each server and more stored history. Confirm the supported interval range with NIIS.
Readers and rolesOwner staff under existing admin roles, and outside parties under a narrower roleNarrow roles fit auditors or partners who need to read data but not change configuration.Map LDAP groups to roles through PAM and SSSD, and review group membership on every staffing change. Confirm which role the monitoring data requires in the user guide.
Collection pointA central tool polling each Security Server, or a collection job on each hostCentral polling fits a small fleet run by one owner team. Per-host collection fits separate teams or network zones.Central polling needs network reach and credentials to each host. Per-host collection means patching and checking jobs on every host.
Storage locationA central database or log platform, or each owner's own storeCentral storage fits fleet-wide inventory and trend analysis. Local storage fits teams that must keep data inside their own boundary.Central storage adds backup and access controls to operate. Confirm where data may legally reside before choosing.
Retention and host headroomShort rolling window or longer history, on hosts with 3 GB or 4 GB RAMShort windows fit current capacity checks. Longer history fits trend analysis and audit evidence. The installation guide lists 4 GB RAM with monitoring add-ons.Longer history grows storage and needs a purge job. Set the retention period in writing with the data owner, and size the host before enabling collection.

Who sees what: owners, other members and reviewers

The operations team of the member that owns a Security Server needs the full picture: OS version, resource use and installed packages for each host it runs. The team uses this data for patch planning, capacity checks and spotting drift between hosts. Access should follow the owner's existing administrator model, with each reader tied to a named account and to a role that the Security Server user guide confirms can read environmental monitoring data.

  • Role mapping: The guide lists Security Officer, Registration Officer, Service Administrator, System Administrator and Security Server Observer. Confirm which of these can read environmental monitoring data before assigning it.
  • Named accounts: Map operators through PAM, with LDAP groups mapped to X-Road roles via SSSD, so each read traces to a person.
  • Admin bundling: Check whether the read permission arrives with administrative roles. If it does, decide whether the operator needs those roles at all.
  • Collection schedule: Confirm how often data is collected and where it is stored before building any dashboard or report on it.

Verify that every operator can read data for the Security Servers it owns, and that a member account outside that team is refused on a sample host.

Setting up X-Road environmental monitoring on a Security Server

This sequence takes a Security Server fleet from an unverified state to a documented baseline for environmental monitoring. It checks release support and host sizing first, then enables and access-controls the monitoring API before any data is collected. The output is a baseline inventory with a scheduled review date.

  1. Confirm the release against the supported list

    Check the installed version on every Security Server against the X-Road releases page before changing any settings. The supported versions are 7.8.3, 7.7.4 and 7.6.5, and 7.8.3 is the current release. X-Road 8.0.0 Beta 2 is available for testing, and its production release is scheduled for December 2026, so keep any beta host labeled as test-only in your inventory. The check is done when every server maps to a supported version or to a labeled test host.

  2. Check platform and host sizing

    Confirm each host runs a supported platform: Ubuntu Server 22.04 or 24.04 LTS on x86-64, or Red Hat Enterprise Linux 8 or 9. Each Security Server needs at least 3 GB of RAM, 4 GB where monitoring add-ons run, and 3 GB of free disk space. Record the OS release, memory and free disk for each host, and flag any host below the threshold for resizing before the API is enabled. The check is done when every host meets the minimum for the add-ons it will run.

  3. Confirm and enable the monitoring API

    Confirm with the Security Server user guide for your exact release, and with a test install, whether the environmental monitoring API is enabled by default and which steps turn it on. Make the change on one test host first, then record the default state, the enabling steps and the approver in your change record. The check is done when the change record covers each release in the fleet and the test host is serving the API, which you confirm in the verification step that follows.

  4. Restrict access by role and network

    Limit who can read environmental data by assigning monitoring accounts to the roles that the user guide permits for that data. The five Security Server roles are Security Officer, Registration Officer, Service Administrator, System Administrator and Security Server Observer, so confirm which of them may read monitoring data before granting access. Where admins authenticate through PAM with SSSD and LDAP, map the LDAP groups to these roles so access follows directory membership. Allow the API only from the approved monitoring host, and keep the admin UI on TCP 4000 limited to internal networks. The check is done when an account without the approved role is refused on a test request and the approved monitoring host still receives data.

  5. Verify data from one test host

    From the approved monitoring host, request environmental data for the single test Security Server. Confirm the response includes operating system details, resource figures and installed package data. If any section is missing, return to the API enablement and access steps before adding more hosts. The check is done when all three data types appear for the test host and the OS release and memory match the values you recorded earlier.

  6. Record the fleet baseline

    Once one host returns complete data, collect the same fields from every Security Server in your inventory. Save the version, OS release, memory, free disk and package list for each host as the baseline, and store it with the change record in a read-only form. Use the baseline for later capacity checks against the 3 GB and 4 GB RAM minimums and the 3 GB free disk figure. The check is done when the baseline has one entry per server and the entry count matches your inventory count.

  7. Schedule the first baseline review

    Book a review of the baseline with the platform owner, the security lead and whoever runs the monitoring client. Put the date in your change calendar with a named owner, and set the review interval in your own change policy. The agenda compares current release support, host sizing, and role and network restrictions against the baseline. The check is done when the review is in the calendar with an owner and an agenda covering those three areas.

Using OS, resource and package data for fleet inventory and capacity checks

This section turns the collected readings into two working outputs that the team reviews on a set schedule: a fleet inventory and a capacity check. Start by confirming which fields your Security Server version returns through the environmental monitoring API, and build the inventory schema only from fields you have verified. For each host, record the OS release, the X-Road package version and the database endpoint type, then produce one row per host. Group the rows by OS release and package version, and mark each host that sits outside the majority. These outlier hosts deserve the first review, because they are the ones most likely to behave differently during an upgrade or restore. Store each run's output in version control or a ticket so that changes between runs stay visible over time.

The capacity check compares each host's RAM and free disk readings with the minimums in the X-Road Security Server installation guide: 3 GB of RAM, raised to 4 GB where monitoring add-ons run, and 3 GB of free disk space. Use these figures as the starting point, then flag hosts that sit close to them. Set the margin for "close" in writing before the first run, because a margin chosen after seeing the data tends to hide the hosts you most need to see. Assign ownership clearly: the platform or integration team that runs the Security Servers prepares the inventory and capacity output, and the security team reviews package findings and who can read the monitoring data. Agree the cadence with both groups, and rerun the check after any change to add-ons, the OS or the hardware.

Package and OS findings feed patching directly. Any host whose X-Road package version falls outside the supported list, which the releases page gives as 7.8.3, 7.7.4 and 7.6.5, becomes a priority item for the next patch window and for the upgrade plan covered in the X-Road upgrades topic. Hosts on an OS release outside the supported Ubuntu Server 22.04 and 24.04 LTS or Red Hat Enterprise Linux 8 and 9 need a decision before patching proceeds. The inventory also feeds two other plans. Upgrade sequencing uses the outlier list to decide which servers go first and which wait. Backup planning uses the host list to confirm that every Security Server has a current backup job and that database and message log data are covered separately, as the backup topic describes. Recheck the supported list before each review, because it changes as new releases ship.

Security risks in Security Server environmental monitoring

Environmental monitoring output describes what runs on each Security Server, which helps an operator and an attacker alike. The cards cover who can query that data, how admin access is protected, how reachable the monitoring API is, and where collected inventory ends up. Check each one in your own environment before you enable collection across the fleet.

Who can query host data

Admin users on a Security Server authenticate through PAM, and many organizations connect PAM to LDAP through SSSD. LDAP groups are mapped to X-Road roles, so group mapping decides who can query host data. A broad group, such as all platform engineers, can quietly receive a role that reads host details. Review the mapping before you enable monitoring, confirm in the user guide which of the five roles can read environmental monitoring output, and test each mapped group with a sample account.

Security Server user guide

Package lists reveal attack paths

A full list of installed packages and OS details tells an attacker which versions to target, and the attacker never has to touch the host to read it. Version lists help an attacker choose targets, so output that looks harmless on an operations dashboard can serve as a ready map of unpatched components across the fleet. Decide which roles may see package-level detail, keep exports out of shared chat and wiki pages, and check whether dashboards show package data to people who only need resource figures. Confirm which fields your version collects before you approve it.

Harden admin access to the server

The hardening guide recommends locking an account for a set period after repeated failed logins, requiring long passwords, and allowing SSH with keys only. It also recommends the allowed-hostnames setting, which guards the admin interface against host header injection. Apply these settings to every Security Server before monitoring is switched on, because the monitoring data is only as protected as the admin path that reads it. Verify each setting on each node, since one node with weaker settings sets the level for the whole fleet.

Failed logins before lockout
3 logins
Lockout duration
15 minutes
Hardening guidelines

Keep the monitoring API internal

Security Server ports face different audiences. Message exchange on TCP 5500 and OCSP on TCP 5577 face external networks, while the admin UI on TCP 4000 and information system access on TCP 8080 or 8443 face internal networks. Confirm the monitoring API is reachable only from the internal network, starting from the port list in the installation guide and then checking which port serves the monitoring API in your version. Scan each Security Server from outside your internal segment and confirm that the monitoring port answers only internal sources.

Installation guide

Protect stored and copied inventory

Collected inventory is a map of your fleet, so store it with the same care as the Security Servers themselves. Treat collected inventory as sensitive data, because copies multiply through exports, dashboard caches, log shipments and ticket attachments, and each copy carries the same package data. Limit who can read the datastore, apply access controls to every place a copy lands, and include the collected data in backup protection with encryption and tested restores. Set a retention period for inventory and delete copies you no longer need.

Questions teams ask before setting up X-Road environmental monitoring

What drives the cost of setting up X-Road environmental monitoring?

Four things drive setup cost: the internal staff time you commit, the effort to build the collector, the access model, and the number of Security Servers in scope. Staff time usually varies most when your own team does the work, since someone must learn the data, test it on each release and document the result. One collector can serve many servers, but each added server still needs registration, checks and access rules. A stricter access model, where different roles see different fields, adds design and test work. Recurring cost comes from periodic reviews of the collected data, patch follow-up when Security Server releases change the fields, and access changes as people join, move or leave. Ask any quote to separate one-time build work from these recurring tasks and to name the servers and releases it covers.

How long does X-Road environmental monitoring setup take?

The duration is set by the written scope, so ask for a timeline tied to named deliverables and to the conditions that start the work. The main factors are the number of Security Servers, the number of supported releases in the fleet, how many role and access rules must be mapped, and how quickly host access and network approvals arrive. Teams with an existing collector and a documented fleet inventory usually move faster than teams starting from a blank page. Your own team's availability matters as much as the build itself, because reviews and sign-off steps wait on people. Before you agree a date, confirm which releases are in scope, who approves access, and which environment the first test runs in. Fixed-scope engagements agree deliverables and timelines in writing before work starts, so the written plan is the reference for any date.

Can an internal team set up X-Road environmental monitoring alone?

Yes, an internal team can do this alone if it has working Linux administration skills and X-Road administration experience on Security Servers. The team needs to be comfortable with the operating system, the package manager, service logs and PostgreSQL connectivity, plus the X-Road admin UI and the roles that control who can change configuration. A second engineer helps with review, because one person should not approve their own collector changes. Your team should also be able to test changes on a non-production Security Server before each upgrade. Supported platforms for the Security Server are Ubuntu Server 22.04 and 24.04 LTS and Red Hat Enterprise Linux 8 and 9, so confirm your hosts match one of them. Bring in an outside partner if the team lacks those skills or the capacity for ongoing reviews. The decision comes down to skills, capacity and how fast you need the first version.

What do we need to provide for X-Road environmental monitoring setup?

You provide host access, a release list, role mapping, network approvals and a sample of the output you want to see. Host access means an account with the privileges the work needs on each in-scope Security Server, handled under your own change control. The release list names each Security Server and its X-Road version, so the collector targets the right fields for each release. Role mapping shows which of your staff or systems may see which environmental data, which is the basis for limiting what non-owners can see. Network approvals cover the paths from the collector to each Security Server, and your network team should confirm the exact ports against the Security Server installation guide. Sample output tells the builder the fields and layout your reviewers expect, so ask for it early. Confirm the complete list in the written scope before work starts.

How does environmental monitoring differ from operational monitoring of requests?

Environmental monitoring describes the state of each Security Server host, such as its operating system, resources and installed packages, while operational monitoring records the data exchange requests that pass through the server. The two answer different questions. Environmental data supports fleet inventory and capacity checks, for example whether a server is up to date or running low on resources. Operational monitoring data concerns the traffic and health of exchanges, and it has its own access rules and storage buffer. Teams often set up both, but they need separate access decisions, since host details and request records may belong to different people. For the request side, read the sibling topic on X-Road operational monitoring, which covers what gets recorded per request and who can query it.

Which X-Road versions support environmental monitoring?

Confirm support for each release you run, since field availability should never be assumed from the version number alone. The supported versions listed by X-Road are 7.8.3, 7.7.4 and 7.6.5, with 7.8.3 as the current release. Check each Security Server's version against that list, then confirm in the release notes or with NIIS whether the fields your team needs are present in that version. X-Road 8.0.0 Beta 2 is available for testing, so keep it in a lab to evaluate the monitoring output. The production release of X-Road 8 is scheduled for December 2026, so plan any move to it as separate work. Have your implementation partner write the supported version matrix into the written scope, and review the X-Road releases page before you fix the target versions.

What to confirm before relying on environmental monitoring data

Environmental monitoring data is only as dependable as the release, access model and sizing behind it. The six items below are the ones to settle in your own environment before you build dashboards, inventory reports or capacity decisions on top of it. Confirm each one against the documentation for the exact release you run.

Exact fields and collection intervals

The environmental monitoring API returns OS, resource and package data, but the field list and the interval for each value can differ between releases. Request a sample response from a Security Server running your target version and record every field your inventory and capacity checks depend on. Confirm how often each value refreshes, and whether a missing or stale value is flagged or silently omitted. Keep that list with your change records so an upgrade cannot quietly change what your reports show.

Non-owner visibility limits

Other members and internal teams may need to see environmental data for systems they do not own, so access has to be limited on purpose. The Security Server defines five user roles, including Security Server Observer, and admin users authenticate through PAM, which can be linked to LDAP through SSSD with LDAP groups mapped to X-Road roles. Confirm in your release which role or access path returns environmental data to a non-owner account. Test each role with a dedicated account, check every screen and API call it can reach, and record what is refused.

Security Server user guide

Differences across supported release lines

The release line you run decides which monitoring behavior you can rely on. The supported versions are 7.8.3, 7.7.4 and 7.6.5, with 7.8.3 as the current release. X-Road 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 the length of that maintenance period has not been decided. Compare the monitoring fields across 7.6.5, 7.7.4 and 7.8.3 in your own test before you commit to a multi-year rollout.

NIIS 7.8.0 announcement

Monitoring add-on memory sizing

A Security Server sized for the base install can fall short once monitoring is enabled. The installation guide lists 3 GB RAM as the minimum, but the higher figure for monitoring add-ons applies to hosts that run them, and it also requires 3 GB of free disk space. Check total RAM and headroom on each Security Server, including any other agents you run beside it. Load-test with your real message volume before you treat a host as sized, and ask your integrator to include this check in the sizing step.

Security Server installation guide

OS and Docker coverage

The Security Server is supported on Ubuntu Server 22.04 and 24.04 LTS on x86-64, and on Red Hat Enterprise Linux 8 and 9. The main X-Road components are listed as supported on Ubuntu, RHEL and Docker, but that general support does not by itself confirm that the monitoring add-on works in a container. Confirm the operating system, architecture and packaging for your target release. Ask whether the add-on is covered for a Docker deployment before you design around it, and test it on the exact image you plan to run.

X-Road 8 timing

X-Road 8 Spaceship is available for testing as 8.0.0 Beta 2, with production scheduled for December 2026. It is positioned as a data space solution with improved monitoring and cloud compatibility, so the monitoring model may change when you move. Avoid building long-lived dashboards, inventory exports or alert rules on X-Road 7 fields alone. Evaluate the beta against your current monitoring use cases, and check your monitoring plans against it before the production date.

X-Road releases page

How DeployOpen scopes and delivers X-Road monitoring work

DeployOpen treats X-Road environmental monitoring of Security Servers as fixed-scope work inside your own infrastructure. We agree in writing which Security Servers are covered, which OS, resource and package data is collected, who can read it, and which systems consume it. The work is then built, tested, documented and handed to your operators, with ongoing support available as a retainer.

How we scope

  • Inventory of Security Servers in scope, with their X-Road version, host OS and hosting location confirmed before work starts.
  • Written list of OS, resource and package fields, each tied to an inventory or capacity question.
  • Access rules for monitoring data, mapped to Security Server roles and the directory groups your team uses.

How we build

  • Collection set up on each Security Server against the environmental monitoring API, with connectivity tested before rollout.
  • Access controls applied and tested with a test account for each role that can reach the data.
  • Host sizing checked against the published 4 GB RAM minimum for monitoring add-ons, plus disk headroom.

How we hand over

  • Written record of the scoped Security Servers, collected fields, access rules and the test results for each role.
  • Runbook covering how to read the monitoring data, who owns each check and how to add a new Security Server.
  • Handover session with your platform and security operators before the work is closed against the written scope.

How we support

  • Ongoing support, upgrades and continuous testing available as a retainer after handover.
  • Recheck access rules and collected fields after every X-Road upgrade, and confirm the target release is supported first.
  • Ask for a re-test of monitoring access after any change to Security Server roles or directory groups.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.