Skip to content
UPSmonitor 247-IT

247-IT Guide

Monitoring branch office UPS centrally: one install, many sites

One installation, many sites: the branch office UPS units report over the VPN via SNMP or NUT to a central installation of the UPS Hyper-V Shutdown Monitor, which decides per UPS whether it only alerts or also shuts down. Which ports and intervals this needs, how the software tells a dropped VPN from a power outage, where a single installation reaches its limits, and when a managed service provider is better off installing per customer.

01 Starting point Poll centrally or install locally.

Two ways to monitor remote sites

A branch office rarely has a Hyper-V host. The typical kit is a rack or tower UPS, a small server or NAS, a switch and the router. Nobody on site looks at the UPS, and when the battery only lasts three minutes after five years, head office finds out at the next power outage. There are two fundamentally different ways to set up the monitoring:

  1. Central installation — one instance of the UPS Hyper-V Shutdown Monitor at head office polls every branch office UPS itself, via SNMP or NUT over a VPN or site-to-site link. Per UPS you decide whether the software only alerts or also shuts down the assigned servers.
  2. One installation per site — each branch office runs its own instance with its own license. Head office sees the sites only through a monitoring system that polls the health endpoint, and through the Windows events in the SIEM.
Scenario comparison
Criterion A: central installation B: installation per site
LicensesOne license (Pro for multiple UPS units, Enterprise for monitoring-only per UPS and the web interface)One license per site, edition as the site requires
NetworkSNMP UDP 161 or NUT TCP 3493 from head office to every branch UPS; WinRM if branch servers are to be shut downOnly inside the branch; optionally health endpoint TCP 9099 outbound for the monitoring system
Shutdown on siteVia WinRM from head office; depends on the VPN linkLocal, independent of the VPN
Behaviour when the VPN failsUPS counts as unreachable: alert, no shutdown, monitoring blindMonitoring keeps running locally; only the central view is lost
Central viewDashboard and web interface show every UPS, reports across all sitesOnly through PRTG, Zabbix, Prometheus or the SIEM
Coordination between sitesCombined shutdown and migration check across all UPS units of the installationNone; separate installations do not know each other
SuitsA company's own branches, a few to a few dozen sitesMSPs with several customers, sites with their own shutdown duty

A third variant, in which separate installations share their UPS status with each other, does not exist. It is documented as a design idea but has not been implemented. Coordination between UPS units, such as the combined shutdown or the check whether a migration target still has mains power, only works inside one process.

02 Scenario A A separate monitoring loop per UPS.

One central installation for all branch office UPS units

The UPS Hyper-V Shutdown Monitor starts a separate monitoring loop for every configured UPS, with its own poll interval, its own thresholds, its own number of confirmations and its own SNMP timeout. A branch UPS at a 60-second interval and a data centre UPS at 15 seconds do not get in each other's way. Which vendors are supported natively and where RFC 1628 serves as the fallback is covered in Monitoring UPS units from multiple vendors; the NUT route is described in NUT on Windows.

For branch offices the operating mode per UPS is what matters. With the option “Monitor only (no shutdown)” in the UPS settings (Enterprise), a branch UPS that reaches the critical threshold only raises the warning “threshold reached (monitoring only)”, plus Windows event 2003 and an SNMP trap. Hosts and additional servers assigned to a monitor-only UPS stay up even during a combined outage of other UPS units. The UPS units at the Hyper-V hosts in head office keep automatic shutdown alongside. The basics are in the guide UPS monitoring without shutdown.

Fig. 01 — Operating mode on the service page; per UPS there is the option “Monitor only” in the UPS settings

If the branch server should still shut down gracefully when the battery runs flat, add it as an additional server and assign it explicitly to its branch UPS. The shutdown then runs via WinRM from head office across the VPN, with everything that implies: if the link is down, head office cannot reach the server. Three assignment rules that matter especially for branch offices:

  1. Additional servers without assignment belong to every UPS — they shut down with every UPS outage in the installation, even if only a head office UPS is affected. Always assign branch servers explicitly.
  2. Hyper-V hosts without assignment are not shut down — the selection “(None — will not be shut down)” is a deliberate opt-out, not “belongs to all”. The behaviour for hosts and additional servers is therefore the opposite.
  3. The monitoring machine itself — assign it to its own UPS on the “Service” tab. Without an assignment it shuts down with every triggering UPS and takes the monitoring of all other sites with it.
03 Network Unreachable is not the same as a power outage.

SNMP and NUT over VPN: ports, latency, unreachability

Head office needs UDP 161 (SNMP) or TCP 3493 (NUT) towards every branch UPS; replies come back over the same connection. SNMP traps from the UPS to head office would additionally need UDP 162, but UPSmonitor works by polling only, so the firewall rule is one direction. Over a VPN link with 30 to 80 ms latency an SNMP reply arrives well within the default timeout of 3000 ms per request; the timeout is configurable per UPS and may be raised on mobile or satellite links. The NUT client waits a fixed 10 seconds.

More important than latency is packet loss. One lost SNMP reply turns a healthy UPS into an unreachable one for that poll. That is why UPSmonitor counts consecutive confirmations: it only acts once the shutdown condition has been met in as many consecutive polls as set under “Consecutive Polls Before Shutdown” (default 3). For branch offices on shaky lines a longer interval pays off (60 instead of 30 seconds) with the number of confirmations unchanged: the reaction time in a real outage stays at a manageable three minutes, and a single dropout triggers nothing.

If the VPN fails completely, the difference from a power outage comes into play. A UPS that does not answer reports the status Unreachable, and for that status the shutdown logic always returns “no shutdown”. The confirmation counter is neither incremented nor reset; it is frozen until a valid reading arrives again. What happens instead:

  1. “UPS unreachable” alert — after three consecutive failed polls (configurable under “UPS unreachable” in the alert manager) the message goes out over every configured channel, with the UPS address and protocol in the text. When the UPS comes back, “reachable again” follows.
  2. Health endpoint at CRIT — a UPS with status Unreachable or Unknown immediately pulls the overall status to Critical, as does a UPS or host entry that has not been updated for more than 30 minutes; from 10 minutes it counts as Warning. /metrics carries the status in the status label of the upshypervshutdown_ups_status metric.
  3. Host reachability in the background — independently of the shutdown sequence, the software checks the WinRM reachability of every active host and additional server every 120 seconds (configurable in config.json, minimum 30). After two consecutive failures the alert “Host unreachable” follows with name and hostname. A branch server behind a dead VPN is noticed before a real shutdown fails on it.

What the software cannot do: tell whether the UPS itself, the branch or just the VPN tunnel is gone. That statement needs the router or a second check in the monitoring system. Which channels are available for the alert is covered in UPS alerts via Microsoft 365, Teams and SMS.

04 Scenario B Install locally, watch centrally.

A central view without a central installation

In scenario A the installation delivers the overview itself: the desktop app's dashboard shows one status card per UPS and switches to a compact table from two UPS units on; the remote web interface (Enterprise) sorts conspicuous UPS units to the top and can be opened to a control room with additional accounts in the “Read-only” role.

Fig. 02 — Web interface dashboard with five UPS units in monitoring-only mode (sample data)

In scenario B this overview does not exist, because every branch has its own installation. The central view is then built in the monitoring system, and every installation provides the same interfaces for that:

  1. Health endpoint — /health as JSON, /health/simple as plain text OK/WARN/CRIT, /metrics for Prometheus and Zabbix, /prtg in the native PRTG format. Bound to 127.0.0.1 by default; for head office you open the bind address deliberately and protect access with a bearer token. Step-by-step setup in the guide UPS in PRTG, Zabbix and Prometheus.
  2. Windows event log — fixed event IDs per event that Sentinel, Splunk or another SIEM collects from every branch. Which IDs exist and how to filter on them is in the guide UPS event log and SIEM.
  3. Reports per installation — availability, battery trend and energy consumption stay separate per site, and the monthly report is emailed per installation. More in the guide Monthly report on availability and energy.

The price of scenario B is the missing coordination: no installation knows what the other one sees. The advantage is independence from the VPN: the shutdown in the branch runs locally even when head office is unreachable at that moment.

05 Licensing and limits One license per activating machine, no cap on UPS units.

What one installation costs and where it reaches its limits

The Standard edition monitors exactly one UPS. Multiple UPS units with assignment of hosts and additional servers are a Pro feature; monitoring-only mode per UPS, the remote web interface and the health endpoint belong to Enterprise. Neither Pro nor Enterprise has a fixed upper limit on the number of UPS units. Every license is a one-time license bound to the hardware ID of the activating machine and entitles that machine to manage an unlimited number of Hyper-V hosts and additional servers. For scenario A that means one license. For scenario B, one license per site, because every installation is activated on its own machine.

The limit of the central installation is the monitoring machine. The monitoring of every site hangs on it. Four consequences:

  1. Its own UPS protection — the monitoring machine needs a UPS that it monitors itself, and the assignment on the “Service” tab, so that an outage in a branch does not shut it down too. If it hangs on two feeds, the redundancy assignment from the guide UPS redundancy with dual power supplies helps.
  2. Service instead of desktop app — the monitoring runs as a Windows service so that it survives reboots and logoffs. The desktop app is for configuration.
  3. An outage of head office blanks out every branch — a second installation as a standby does not take over automatically, and two installations allowed to shut down the same branch servers do not coordinate. A monitoring system that checks the health endpoint of head office at least reports that the monitoring has stopped.
  4. Poll load — every UPS is polled at its own interval; 30 UPS units at 30 seconds is one SNMP request per second, harmless for VPN routers, but the point at which the compact table in the dashboard becomes useful.
06 Service providers One installation per customer, alert channels per installation.

Several customers: one installation per customer

For a managed service provider with several customers, scenario B is the cleaner route. Each installation runs in the customer's network, the configuration with UPS credentials and WinRM accounts stays there, and nothing of customer A sits on a machine that also sees customer B. The license belongs to the customer's activating machine; passing it on or sublicensing it is not permitted under the terms without the vendor's consent. The central view across all customers is built in the provider's PRTG, Zabbix or Prometheus, which polls the customers' health endpoints, and the monthly report goes to each customer's own recipients.

One point argues for separate installations even within a single company: alert channels and triggers apply per installation, not per UPS. A central installation sends the power outage in the north branch to the same recipients as the one at head office. Escalation per site to different on-call teams is not provided in the software; it is built in the monitoring system, which evaluates the metrics per UPS, or through separate installations. There is likewise no maintenance window or muting of individual UPS units; the triggers can only be switched on and off globally.

So that alerts can still be attributed, the naming convention matters. Name every UPS after site and device, for example “Branch North UPS Rack 1”. The name appears in the dashboard, in the web interface, in the reports, as the ups label in the Prometheus metrics and in the SNMP traps in UPS-MIB format. In the alert texts via email, Teams, SMS or webhook it is in the subject of every UPS-related message: power outage, power restored, low battery, bypass, battery health, reachability, warning thresholds and UPS alarms; the body starts with a line “UPS: name”. If mains power flaps, the software combines the messages into one summary “Unstable mains” from the third transition within ten minutes and sends an all-clear once mains has been stable for ten minutes. Both apply from version 1.14.0; before that, the power outage emails stated only the model, not the name.

07 Checklist Before connecting the first branch office.

Checklist for central branch office monitoring

  1. Scenario decided — central installation (own branches, shutdown from head office acceptable) or one installation per site (customers, local shutdown duty).
  2. Firewall per branch — UDP 161 or TCP 3493 from head office to the UPS card; TCP 5985 or 5986 to the branch server if it is to be shut down via WinRM.
  3. SNMPv3 instead of community — over a VPN v2c is technically enough, authPriv is still the cleaner route; see SNMPv3 on a UPS network card.
  4. Interval and confirmations per UPS — for branches on shaky lines 60 seconds and three confirmations; raise the SNMP timeout at high latency.
  5. Operating mode set per UPS — branch UPS units on “Monitor only”, head office UPS units with shutdown; additional servers assigned explicitly.
  6. Monitoring machine protected — its own UPS, assignment on the “Service” tab, running as a Windows service.
  7. “UPS unreachable” alert active — threshold at three polls, recipients know the difference from “power outage”.
  8. Names with site — every UPS is named after branch and device before the first alerts go out.
  9. VPN failure rehearsed — cut the tunnel to one branch in a maintenance window and check that the alert arrives, the health endpoint reports CRIT and nothing shuts down.
  10. Central view set up — web interface with read-only accounts, or PRTG, Zabbix, Prometheus at the health endpoint.
08 Questions Short answers to common questions.

Frequently asked questions

How many branch office UPS units can one installation monitor?

There is no fixed upper limit. The Standard edition monitors exactly one UPS, Pro and Enterprise any number. In practice the limits are the poll intervals, the bandwidth of the VPN links and how readable the dashboard stays; from two UPS units on, the dashboard can switch to a compact table.

Does the software shut down hosts when the VPN to a branch office fails?

No. A UPS that cannot be reached reports the status “Unreachable”, and that status never triggers a shutdown; the confirmation counter is frozen until a valid reading arrives again. Instead, after three consecutive failed polls (configurable) the “UPS unreachable” alert goes out and the health endpoint reports CRIT.

Can I send alerts for each branch office to different recipients?

Not within one installation. Alert channels and triggers apply to the whole installation, not per UPS. Separate recipient groups per site are achieved through the monitoring system, which evaluates the health endpoint or the Prometheus metrics with the UPS name as a label, or through a separate installation per site or per customer.

Can several installations at different sites share their UPS status with each other?

No. Coordination between UPS units, such as the combined shutdown or the check of a migration target, only works within one installation. Linking separate installations is documented as a design idea but has not been implemented. If you want to shut down across sites, you need one central installation that polls all the UPS units involved itself.

Every site in one installation

30 days free, all features included. With any number of UPS units via SNMP and NUT, an operating mode per UPS, an alert on unreachability and a health endpoint for PRTG, Zabbix and Prometheus.