Skip to main content

opHA Architecture

opHA product icon

opHA Message Bus

Real-time, fault-tolerant, multi-tenant NMIS at any scale

opHA Message Bus is the next-generation architecture for distributed NMIS. Instead of waiting for a scheduled sync, each poller streams inventory, latest data, events and status to the primary over a message bus as it collects them. The result is a monitoring platform that can scale from one site to thousands of pollers, isolate every tenant cleanly, and keep running through failures that would take older architectures down.

What You See On Day One

Every peer, every daemon, one screen

opHA-MB 5.2.0Home
opHA-MB Home on the Main Primary. Each peer card shows the peer type, heartbeat, streaming state, node count and the live status of every NMIS daemon on that peer (opchartsd, opeventsd, opconfigd, nmis9d, omkd, ophad).

The opHA-MB Home view is the operational heartbeat of the platform. From this single screen, an operator can see at a glance which pollers are streaming, which daemons are healthy on every peer, and how many nodes each peer is responsible for. There is no need to log into each server, run a status command, or wait for a scheduled sync to complete. The information is live, refreshed by the message bus itself.

How It Works

One bus from every site to the primary

Pollers collect at each site and stream what they find over the message bus to the primary. When a poller goes down, its mirror takes over. With replication, a Secondary Primary can stand in for the primary too.

NOC and operations teams, working in opHA-MB Home, opCharts and opEvents on the primary

Main Primary

Primary

Secondary Primary

Standby
opHA Message BusNATS

Streamed by each poller

InventoryLatest DataEventsStatus
Poller 1Streaming
Mirror 1Standby
Poller 2Streaming
Mirror 2Standby
Poller 3Streaming
Mirror 3Standby
Poller 4New site
Mirror 4

Managed devices at each site

SwitchesRoutersFirewallsServersUPSand more

Pollers stream to the primary

Inventory, Latest Data, Events and Status

Each poller publishes four kinds of data to the message bus, and the Main Primary reads them from there. On the Peer Details screen they show as a few seconds old. Nodes and Registry still arrive by pull rather than by stream. A mirror keeps its data to itself while its poller is up.

Distributed Service Monitoring

Up, degraded, down, across every site

Service status table aggregating across pollers, with KPI cards for Up, Degraded, and Down counts, and a table of services showing node, status, description, response time, and last run
Aggregated service-level view across an opHA Message Bus estate. KPI cards summarise the global state at a glance, while the table drills into individual checks across nodes and pollers.

opHA Message Bus carries service-level state, not just device-level state. SSL expiry checks, port checks, application stack checks, and any other service NMIS or opCharts is running, all stream into one consolidated view. Operators triage from a single table, click through to the source poller, and resolve faster.

For MSPs, Telcos, and ISPs

Real isolation, real visibility, real flexibility

opHA Message Bus is the architecture FirstWave recommends for any deployment with more than one customer behind it. Tenants are isolated at the data layer, not bolted on with filters, and the message bus is what makes that isolation work without forcing every customer onto the same physical server.

Tenant data stays separate

Each tenant's nodes, events, and configuration are isolated end-to-end. A poller can be dedicated to a single customer, shared with strict isolation, or run in a hybrid model. Operators see one consolidated view; customers only ever see their own.

Per-tenant scale, no per-tenant servers

Add a customer, add their pollers, point them at the message bus. There is no need to spin up a parallel NMIS stack per tenant unless you want one. Most MSPs do not.

Single billing surface, single ops surface

One platform to operate, one platform to bill against. Per-tenant counts roll up into the same management views that operators already use.

Capabilities

What the message bus brings to NMIS

Real-time event streaming

Events flow from pollers to primaries the moment they happen, not on the next scheduled sync. MTTR drops because operators see what is happening as it happens.

Replicated primaries

In replication mode a Secondary Primary holds a replicated copy of the primary database. If the Main Primary goes down, the Secondary Primary takes over and keeps the NMIS and opCharts data, so monitoring keeps running.

Automatic poller failover

When a poller stops, its mirror takes over without anyone stepping in and monitoring of that site carries on. Once the poller is back, an engineer switches over to it with one failback command on the Main Primary.

Horizontal and vertical scale

Add more pollers to cover new sites, or scale existing pollers vertically to carry more nodes. The message bus adapts to either.

Centralised poller configuration

Push poller configuration changes from the primary, not poller by poller. Onboarding new sites becomes a one-step operation.

Live daemon health

Every NMIS daemon on every peer (opchartsd, opeventsd, opconfigd, nmis9d, omkd, ophad) reports health to opHA-MB Home in real time.

Geographic distribution without bandwidth pain

Pollers monitor their local infrastructure. Only the resulting events and metrics travel over the WAN, not the raw polling traffic.

A mirror for every poller

Pair each poller with a mirror that polls the same devices. While the poller is up, the mirror keeps its data to itself. When the poller stops, the mirror is already collecting and takes over.

NMIS Ecosystem

Drop it in, leave the rest alone

NMIS Core Platform

The message bus extends NMIS into a fully distributed, highly available architecture. Existing configuration, device models, and monitoring policies work unchanged.

opCharts Consolidated View

Dashboards, maps, and charts reflect data from every poller in real time, no more refresh delays or stale tiles.

opEvents Distributed Correlation

Events arrive at opEvents the instant they are generated, anywhere in the estate. Correlation, deduplication, and escalation work across the entire deployment.

All Commercial Modules

opConfig, opReports, opFlow, and opAddress all benefit from the same distributed fabric, with centralised configuration management from the primary.

Under The Hood

Technical Specifications

Architecture
Peer-to-peer message bus with primary, poller, and mirror peer types
Peer types
Main Primary, Secondary Primary (replication mode), Poller, Mirror
Sync model
Inventory, Latest Data, Events and Status stream over the message bus. Nodes and Registry are pulled.
Heartbeat
Continuous, surfaced on opHA-MB Home as "A few seconds ago" under healthy conditions
Daemons monitored per peer
opchartsd, opeventsd, opconfigd, nmis9d, omkd, ophad
Deployment models
Single-tenant, multi-tenant, or hybrid
Failover
Poller to mirror automatically, back to the poller with a failback command. Main Primary to Secondary Primary in replication mode.
Scaling
Horizontal (add pollers and mirrors) and vertical (scale existing peers)
Configuration
Centralised poller configuration management from the primary
Geographic distribution
Pollers and mirrors can be deployed in any region

Ready to run NMIS at message-bus scale?

Talk to our team about how opHA Message Bus can support your distributed, multi-tenant monitoring requirements. We will walk you through opHA-MB Home and how the architecture fits your deployment.

opHA Message Bus is part of the opHA product family on the NMIS 9 platform.