UNS Monitor — /uns/monitor

The Monitor answers whether the UNS is healthy: whether the UNS process and the connections are up, whether telemetry is arriving, whether the Delivery messages are being applied, whether there is a stale variable or one with bad quality and whether any alert rule is firing.
The UNS Monitor item is the first one in the UNS Manager group of the menu. It only shows up with
the UNS module in the license and for whoever has the /uns/monitor Tool.
Variable lists and counts are scoped by the UNS roles of whoever is looking (UNS access); in that case the screen warns “Lists filtered by your UNS roles.” The screen refreshes by itself every 10 seconds, and the time of the last reading sits next to the tabs.
The health strip
At the top, always visible, the strip sums up the overall status — Critical, Warning or All good —, with how many problems there are now and how many are critical. Next to it, each connection (Process, Stream, Broker, Source), marked as disconnected when it went down; clicking leads to the Sources and connections tab. If the historian maintenance failed, the strip says so too.
The attention icon in the menu
With any problem now, the UNS Monitor item in the menu gets a triangle: red if there is a critical problem, amber if only warnings. With the UNS Manager group closed, the triangle moves up to the group, so the warning does not disappear with the list. Hovering lists each problem, with the same text as the “Problems now” list. It is the same yardstick as the screen and the external monitoring, like the attention icon of the other monitors.
Tabs and period
| Tab | Shows |
|---|---|
| Overview | The indicators with the period’s history and what is wrong now |
| Plant health | The namespace tree as a heat map |
| Sources and connections | The state and availability of each connection, and the historians |
| Problem variables | Stale, BAD, uncertain and out-of-schema variables |
| Transactions | Applied and rejected messages, with the rejection reasons |
| Alerts | Ongoing alerts, timeline and acknowledgement |
Each tab shows a number when there is something in it: red for critical, amber for warning. On
Overview, Sources and connections, Transactions and Alerts, the Period picker chooses the history
window: Last hour, 24 h or 7 days. Tab and period stay in the address (?aba=,
?periodo=), so you can send the link directly.
The indicator history is recorded every minute and kept for 7 days. Right after installing, the sparklines do not show yet: they appear as the history builds up.
Overview
The indicators
| Indicator | What it measures |
|---|---|
| Telemetry | Telemetry values stored per second, adding up all sources, and how many sources there are |
| Transactions | Messages from UNS_PUBLISH Deliveries applied in the period, and how many were rejected |
| Telemetry latency p95 | From the source timestamp to the value reaching the UNS, over the last 5 minutes (with p50 below). High = edge equipment clock running late or congested broker |
| Transaction latency p95 | From the message being processed by the integration engine to the value stored in the UNS, over the last 5 minutes |
| Stream lag | Transactional messages waiting for the UNS process to read them, and how many were read without acknowledgement. Growing non-stop = process stopped or slow |
| Pending publication | Values not yet published to the publishing MQTT broker, and how long the oldest has been waiting |
| Stale variables | Variables with no new value beyond the attribute’s expected interval (only those with an expected interval) |
| BAD quality | Variables with a BAD current value, including out of schema; the uncertain ones show below |
Each indicator has a sparkline for the period; hovering shows the value and the time. Below, the Transactional messages chart separates applied and rejected, and the footer shows the size of the UNS database.
Problems now
The Problems now list gathers what is out of the ordinary, from most to least severe:
| Problem | Severity | When it shows up |
|---|---|---|
| Connection down | Critical | The UNS process, the publishing broker or a telemetry source went down |
| Rule in alert | Critical | An active alert rule is firing |
| Variables with BAD quality | Critical | At least one BAD variable |
| Stale variables | Warning | At least one variable stale beyond the expected interval |
| Rejected messages | Warning | The UNS rejected messages in the last 15 minutes |
| Variables out of schema | Warning | A value that does not follow the attribute’s current schema |
| Stream lag | Warning | More than 1,000 entries waiting |
| Pending publication | Warning | A value waiting for the broker for more than 5 minutes |
| Uncertain quality | Warning | The source marked the reading as UNCERTAIN |
| Rule that cannot be evaluated | Warning | Invalid filter, or dashboard or SPC chart deleted |
With none, the screen says “Nothing out of the ordinary now”. Clicking a problem opens the tab where it is, already filtered.
How to fix

The How to fix button of each problem explains what it means and what to check, and brings shortcuts to the screen where it is fixed. The same box shows up on the Problem variables tab, when filtering a status.
| Problem | What to check | Shortcuts |
|---|---|---|
| Stale variable | “Never received” is almost always mapping: does some topic of the source point to the variable? Does the Delivery that publishes to the UNS include it? If it received and stopped, is the source connected? If the reading is spaced out on purpose, raise the attribute’s expected interval | Telemetry, Sources and connections, Asset Model |
| BAD quality | The value does not match the attribute’s type or limits, the source sent BAD, or the schema rejected it. Fix it at the source, or adjust type and limits in the Asset Model if the rule is wrong | BAD variables, Asset Model |
| Uncertain quality | It is the source saying the reading is doubtful (sensor being calibrated, unstable communication). The CMS only passes it on: check the equipment or the driver | Sources and connections |
| Out of schema | Either the source changed the format, or the schema is out of date — publish a new version | Asset Model |
| Rejections | Nonexistent topic, no write permission or invalid value. Fix the Delivery or the Asset Model and reprocess the message | Transactions |
| Connection down | Source: the broker or the External Connection and credentials. Process: the cms-uns container must be up | Sources and connections, Telemetry |
| Process down | Without cms-uns, nothing goes in or out of the UNS. Check the container and the Installation page of UNS Settings | Sources and connections, Installation |
| Stream lag | A short spike is normal. Growing non-stop, the process is stopped or overloaded | Sources and connections |
| Pending publication | Is the publishing broker up? Are the credentials in UNS Settings › MQTT publishing right? | MQTT publishing |
| Rule in alert | See the cause shows what fired. Fix it, or acknowledge the alert if it is already being handled | Alerts |
| Rule with error | Edit or deactivate the rule | Alerts |
Plant health
Each tile is a branch of the namespace tree, with the status of its variables: BAD, stale, uncertain, no value and OK, the OK percentage and the total. Clicking goes down one level, and the path at the top (Namespace › …) goes back. Sort puts the Worst first or By name. See problem variables opens the next tab filtered by the branch. On a node with variables, their list shows below, with the status of each one.
For a very large role scope, only the first 200 thousand variables go into the count, and the screen warns you.
Sources and connections
The Connections table carries each connection with its Now state, the Rate, the Last message, the Available percentage in the period and the History in bars: green = up the whole time, amber = down briefly, red = down for a while, gray = no measurement (the API was down). Hovering a bar shows the time and how many minutes it was down. A connection that left the configuration shows as no longer configured.
Below, Historian and external historians: the last historian maintenance, the events removed by retention and the status; and each external destination with its variables, what is Queued, Sent, Dropped, the last send and the error.
Problem variables
Lists the variables by status — Stale, BAD, Uncertain, Out of schema —, with the topic, the status, the last value (or never received), the expected interval and the Reason. The status buttons filter; clicking the topic of a variable filters by its node (Branch), and the x removes the filter. The search looks up topic or reason. The list shows 50 per page and goes up to the first 20 thousand.
The icon at the end of each row opens the probable cause of the variable: what it depends on that also has a problem right now — the disconnected source, the Application OFF, the Collection turned off.
Transactions
The chart of applied and rejected messages in the period, Rejections by Delivery and Rejection reasons: the Delivery, the reason, how many Times, the Last one and the message, with a link to it. From the message you fix and reprocess. With many rejections in the period, the count uses the 5 thousand most recent.
Alerts

In alert now lists the rules firing, with the value, for how long, a line on how to fix it and See the cause (or Open the chart, on an SPC chart rule). The alert leaves this list by itself when the condition stops holding.
Acknowledge records that someone is taking care of it, with an optional comment (“What was done”). Acknowledging does not silence: to stop warning without fixing, deactivate the rule.
The Timeline shows one band per rule with the stretches in alert during the period, and Firings and recoveries lists each event with the value, the threshold and who acknowledged it. Only unacknowledged filters what still needs handling. Events are kept for 90 days.
The rules behind these alerts are on another screen: the bottom of the tab has Open alert rules, which goes to Alert rules.
Alert rules

The rules are in UNS Manager › Alerts (/uns/alerts), a screen that uses the same Tool as the Monitor
(/uns/monitor). Each row shows the type, the condition, the status and the last evaluation, and the
Active column turns the rule on and off right there.
Rules are evaluated every minute and fire through the Alerts module (bell, e-mail, webhook). The alert text does not mention a topic — whoever receives it may not have a role to read those variables —; the details stay on this screen. The rule warns again when it recovers.

| Field | What it holds |
|---|---|
| Name | Shows in the alert and in the list |
| Type | What the rule counts (table below) |
| SPC chart | SPC chart type only: the chart of a dashboard, chosen from the list |
| Topic filter (optional) | Only on Stale variable, BAD quality and Transactional rejection. Browse the UNS opens the namespace tree to pick a whole branch (the filter becomes branch/#) or a variable. MQTT wildcards still work: + takes a level, # only at the end. Empty = all variables |
| From how many… | The threshold: the rule holds when the count reaches it |
| For at least (seconds) | The condition has to hold without interruption for this long before firing, up to 7 days. Keeps a 30-second spike from becoming an e-mail |
| Recipients | The users who receive it. The list has a search by name, login or email, and the chosen ones show as chips. With the E-mail channel on, a user with no email on record is flagged: their alert only goes out through the bell |
| E-mail / Webhook/WhatsApp | The channels |
| Active | Off, the rule is not evaluated |
| Type | Counts |
|---|---|
| Stale variable | Variables in the filter with no new value within the attribute’s expected interval |
| BAD quality | Variables in the filter with BAD quality (outside the type or the schema) |
| Transactional rejection | Messages rejected by the UNS in the last 15 minutes (that touched the filter, if any) |
| Connection down | What is down: the process, the publishing broker, the telemetry sources and the stream |
| Stream lag | Transactional entries waiting for the UNS to read them |
| UNS database size | Size in GB of the UNS database (state and historian) |
| SPC chart out of control | Among the 5 most recent points of the chart, how many violate the Nelson rules turned on in the widget |
The SPC chart rule uses the rules and limits (frozen or not) of the widget on the dashboard. To create one, first build the chart on a dashboard. If the dashboard or the chart is deleted, the rule switches to “cannot be evaluated”.
The search filters rules by name or topic filter, and the pickers by type and status (Alerting,
Normal, Disabled). Evaluate now runs the evaluation without waiting for the minute.
Creating, editing and acknowledging require edit permission on the /uns/monitor Tool.
TV mode

TV mode opens the Monitor in a new tab, full screen, with no menu and large type, for the
control room wall. It shows the health strip, the eight indicators for the last hour, the problems
now, the six worst first-level branches of the plant and the active alerts — nothing that needs a
click. It refreshes by itself and exits with Esc. The address with ?tv=1 opens straight into it.
The size follows the screen width. In the bottom right corner, A− / A+ adjusts from 100% to 200% and Auto goes back to automatic. The setting is saved in the browser and also applies to the UNS dashboards and the Applications Panel.
On the TV without login
To leave the Monitor on a TV with nobody logged in, generate a token in Wallboard and Monitoring › UNS Monitor:
- New Monitor token: give it a description (e.g. control room TV) and, optionally, an expiry date.
- Copy the Address for the TV (
/uns-monitor-wall?token=...). The token starts withcms_unsm_and shows up only now. - Open the address on the TV once. The token is kept in the TV browser and leaves the address bar. The Monitor opens in TV mode and refreshes by itself.
The TV sees what whoever generated the token sees in the Monitor today, through their UNS role, checked on every refresh. If that person loses access or is deactivated, the TV stops at once. To switch TVs or if the address leaks, revoke the token on the same screen. A revoked or expired token makes the TV ask for a new one.
External monitoring (Zabbix)
The same CMS monitoring token (cms_mon_..., created in
Wallboard and Monitoring › External monitoring) reads the
UNS Monitor summary:
GET /api/monitoring/uns
Authorization: Bearer cms_mon_...The X-Monitoring-Token header also works. The response follows the same yardstick as Problems now:
| Field | What it carries |
|---|---|
situacao / situacaoCodigo | OK = 0, ATENCAO = 1, CRITICO = 2. To trigger in Zabbix, use the number |
problemas | How many critical and warning, and the list with type, severity and description |
processo | Process online (1/0) and each connection with conectado 1/0 |
telemetriaPorSegundo | Telemetry values per second |
atrasoStream, publicacaoPendente, publicacaoPendenteMaisAntigaSeg | The stream and publication indicators |
variaveis | Count of BAD, uncertain, out-of-schema and stale |
recusas | Rejections in the last 15 minutes and in the last 24 hours |
regras | Active rules, in alert and with errors |
The scope is the UNS role of whoever generated the token; if that person is deactivated, the address answers 401. On the External monitoring tab, View response now shows the JSON with your own scope.
The address only answers with the UNS module in the license. The other CMS monitoring addresses keep working without it.