Skip to content
UPSmonitor 247-IT

247-IT Guide

UPS monthly report: availability, battery health, energy cost

A UPS only gets noticed when it is needed. Whether it was needed in the past months, whether the shutdown worked and whether the battery is still fit for purpose is not in any dashboard; it is in the retrospective. Which figures a monthly report should deliver to management or to an MSP's customers, how the UPS Hyper-V Shutdown Monitor calculates availability, battery trend and kilowatt-hours, and where those figures remain estimates.

01 Starting point Five questions a report has to answer.

What management and customers want to know

Whoever paid for the UPS does not care about SNMP OIDs. They want to know whether the purchase has paid off and what comes next. A useful report therefore answers five questions with figures from your own network, not from the datasheet:

  1. How often was the mains gone? — number of battery events in the period, each with start, end and duration.
  2. For how long? — total time on battery and longest outage. From that follows whether the runtime thresholds still match reality.
  3. Did the shutdown work? — per Hyper-V host: shutdowns successful, failed, or deferred because a healthy second UPS still protected the host.
  4. How is the battery? — replacement status reported by the UPS, failed self-tests and whether the discharge rate is rising.
  5. What does the load cost in electricity? — estimated kilowatt-hours and cost per month, as an order of magnitude for budgeting and sizing.

The UPS Hyper-V Shutdown Monitor collects the data for this as a by-product of every poll and summarises it in the “Reports” tab. All reports belong to the Pro edition. For an MSP there is a sixth question: how do these figures reach the customer every month without a manual export each time? That is what the monthly manager report is for (section 06).

02 Data basis Three sources, all local.

What the software records

A report is only as good as its time series. UPSmonitor writes three data sources to the folder C:\ProgramData\UPSHyperVShutdown, regardless of whether the desktop app or the Windows service does the monitoring:

  1. Measurement history — every UPS poll is stored as a data point in a SQLite database (ups_data.db): status, battery charge, remaining runtime, input voltage, load, temperature, the replacement flag of the UPS and the last self-test result. The sampling interval is the UPS poll interval, 30 seconds by default. Retention is 90 days by default (ReportRetentionDays in config.json); older rows are purged once a day.
  2. Host reachability — a background check tests all active Hyper-V hosts and additional servers with a WinRM connection test, every 120 seconds by default, and stores reachable or unreachable per host in the same database.
  3. Shutdown history — every triggered emergency shutdown is written to the history with timestamp, reason and test-mode flag (shutdown_history.json, the last 100 entries). Per host it records success or failure, number of VMs, duration in seconds, error text and whether the shutdown was deferred because a redundant UPS still powered the host.

The reports work with exactly this data. If monitoring was not running during a period, the period is absent from the database and the software treats it as a gap, not as operating time. How that feeds into availability is covered in the next section.

03 Reports “Reports” tab, period Today, 7 Days, 30 Days or custom.

The reports in detail

In the desktop app the “Reports” tab sits under “Analysis”. At the top you choose the period (“Today”, “7 Days”, “30 Days”, “Custom”) and, with several UPS units, the device. Below are the cards that also fill the PDF:

Report cards in the UPS Hyper-V Shutdown Monitor (as of version 1.13.0)
Card What it shows How it is calculated Requirement
AvailabilityPercentage, online time, time on battery, time unreachable, number of battery eventsTime without outage ⁄ actually measured time × 100. Intervals between two data points longer than five times the poll interval (at least 120 s) count as gaps and are neither online nor on-battery time. An unreachable UPS does not count as online. Without sufficient data the card shows “–”.Pro
Battery charge history and battery eventsChart of battery charge over the period; table with start, end, duration and minimum charge per eventAn event starts with the first data point in status on battery or low battery and ends on return of mains or at a data gap.Pro
Host availability (SLA)Per host: availability, downtime, unobserved, outages, shutdowns OK, shutdowns failed, deferred (redundancy), last reasonReachable time ⁄ measured time × 100 from the WinRM checks; shutdowns from the history, matched by host ID.Pro, hosts assigned to the UPS
Energy consumption (estimate)Total kWh, average load, peak load, estimated cost, daily values, load trendFormula in section 04. Load trend: average load of the more recent half of the period against the older half; from 10 percentage points difference “increasing” or “decreasing”.Pro, rated power (VA) entered
Battery health trend / replacement forecastStatus (OK, replacement recommended, unknown), failed self-tests, discharge rate trendSection 05.Pro
vs. previous periodArrows and delta for availability, energy and loadComparison with the immediately preceding period of the same length. Below 0.5 percentage points (availability), 5% (energy) or 5 percentage points (load) the value counts as flat.Pro, data in both periods
Fleet overviewOne row per UPS: availability, kWh, cost, number of hosts, weakest hostSummary of the individual reports.Pro, several UPS units

Availability always refers to measured time, not to the calendar. If the service was installed on the 10th of the month, the report shows availability from the 10th and lists the days before as unobserved. That is less flattering than 100%, but it is the figure you can stand behind in front of a customer.

04 Energy An estimate that is labelled as an estimate.

Calculating the electricity cost of the UPS load

Most UPS units report the load as a percentage of rated power via SNMP or NUT, but no real power in watts. UPSmonitor therefore calculates from load and rated power:

  1. Formula — kWh = load ⁄ 100 × rated power in VA × 0.9 × hours ⁄ 1000. The factor 0.9 is a fixed assumed power factor. The software integrates over every interval between two data points; gaps are skipped and intervals across midnight are split at the day boundary.
  2. Example — a 1500 VA UPS at 40% load corresponds to 0.4 × 1500 × 0.9 = 540 W. Over 30 days (720 hours) that is about 389 kWh. At €0.30/kWh roughly €117 a month, which is the electricity cost of the connected servers, not of the UPS alone.
  3. Settings — both values live in the UPS settings: “Rated Power (VA)” (default 0, which disables the analysis) and “Electricity Price (€/kWh)” (default 0.30; 0 switches the cost calculation off). The price is on your electricity bill, the unit rate without the standing charge.
  4. Load trend — if the average load rises by more than 10 percentage points from the first to the second half of the period, the report shows “Load +n percentage points”. That points to growing load and thus shorter runtime; see Calculating UPS runtime.

The card is called “Energy consumption (estimate)” in the app, and that is how to read it. The real power factor of modern server PSUs is often above 0.9, of older equipment below; the load is reported in whole percent; the losses of the UPS itself are not included. For budgeting or comparing two months that is enough; as a billing basis towards a tenant or customer it is not. That takes a calibrated meter.

05 Battery Early warning, not a prediction.

Battery health trend and replacement forecast

The card “Battery Health Trend / Replacement Forecast” combines three signals that are easy to miss individually:

  1. Status — the replacement flag of the UPS itself, as APC, Eaton and others report it via SNMP or NUT. The last data point at which the UPS was reachable counts; an unreachable UPS sets the status to “unknown” rather than “OK”.
  2. Failed self-tests — every change of the test result to “Failed” is counted, not every poll that repeats the result. A single failure remains one event even if it stays in the status for weeks.
  3. Discharge rate trend — during every period on battery the software measures how many percent of charge are lost per minute. The rates of the older half of the period are compared with those of the more recent half. If the recent rate is more than 15% higher, the report shows “Discharge rate +n%” and the PDF says “Degrading”. Without battery operation in both halves it shows “Not enough on-battery data for a trend”.

The software deliberately calls this an early warning signal, not a prediction. The discharge rate also depends on the load during the respective outage, which is why the threshold is a generous 15%. The report provides no remaining-life date and no capacity in ampere-hours. When a signal turns into a replacement and how to plan it without a protection gap is covered in the guide Replacing UPS batteries.

06 Monthly report PDF by email, once a month, for the previous month.

Monthly manager report, PDF and CSV

The card “Monthly Manager Report (PDF via E-Mail)” in the “Reports” tab generates the report for the previous month on the configured day of each month and sends it as a PDF:

  1. Settings — “Enable monthly report”, “Send day (1–28)”, “Time (HH:MM)”, “Report language” (German or English) and “Recipients” (comma-separated; empty means the recipients of the email channel in the alert manager). “Send report now (current month)” immediately sends a report from the 1st of the current month until now, for testing. “Last sent” shows time and result.
  2. Delivery — the service uses the active email channel of the alert manager: SMTP, Microsoft Graph with an app registration (client credentials) or Graph with a signed-in user. Without an active channel the report is not sent and the status states why. Subject: “UPS Manager Report – Month Year”, attachment UPS-Manager-Report-YYYY-MM.pdf; the mail body carries the summary as text.
  3. Contents of the PDF — one page per UPS with summary (availability, battery events, longest outage, total on battery, unreachable), comparison with the previous period, UPS information (host/IP, protocol, model, serial number, shutdown threshold, rated VA, assigned Hyper-V Hosts), battery events in detail, energy consumption with daily values and load trend, host availability and battery health. With several UPS units the fleet overview comes first. Model and serial number come from the configuration, where the connection test stores them during setup; if missing, the software polls the UPS live when generating, with a 10 second timeout.
  4. Manual exports — “Export CSV” writes availability, battery events, energy per day and host availability of the selected period to a file for Excel or your own scripts. “Export PDF” creates the document for one UPS, “All UPS (PDF)” for the whole fleet, each for the period selected above.
  5. Remote web interface — the “Reports” page offers the same cards, CSV and PDF download at /reports/export.csv, /reports/export.pdf and /reports/export-all.pdf, plus the monthly report settings with immediate send. That makes the report available from a Server Core installation without the desktop app.

The service checks every 30 minutes whether sending is due. If the server was off on the send day, it catches up as long as the calendar month is still running; at most one automatic report is sent per month. For sending through Microsoft 365 without basic auth, see UPS alerts via Microsoft 365 and Teams.

07 MSPs One report per customer, no manual work.

A report per customer and a template for the conversation

The software runs at the customer's site, not at the MSP. Each installation therefore produces a report per customer or site on its own, with that site's UPS units, hosts and period. Enter the customer's contact and your ticket mailbox as recipients and both have the same PDF at the start of the month. If a customer has several sites with their own installation, several reports arrive; the software does not create a cross-site summary.

For the quarterly review the PDF serves as the agenda. Five points, in the order of the report:

  1. Availability and unobserved — if the measured time is well below the month, monitoring was not running continuously. Clarify that first, then talk about percentages.
  2. Battery events — hold the duration of the longest outage against the configured runtime threshold. If an outage came close, adjust thresholds or load distribution.
  3. Shutdowns — every failed shutdown is a work order (WinRM, credentials, VM timeout). Deferred shutdowns are not an error but redundancy working as intended.
  4. Battery health — with “replacement recommended”, failed self-tests or a rising discharge rate, propose the battery replacement with a quote before the next outage forces it.
  5. Energy and load trend — rising load means shorter runtime. Quote the kWh figure as an order of magnitude, noting that it is an estimate.

If you also want the live state in your own monitoring, integrate the health endpoint: UPS in PRTG, Zabbix and Prometheus. The report remains the retrospective, the monitoring the present moment.

08 Limits What the figures do not say.

What the report does not do

  1. Energy is estimated — fixed power factor 0.9, load in whole percent, no UPS losses. Suitable for budget and trend, not for billing.
  2. Availability means the power supply — what is measured is whether the UPS was on mains and whether the host answered via WinRM. Whether Exchange or the ERP system were running, the report does not know.
  3. Gaps stay gaps — times without running monitoring appear as “Unobserved” and are missing from every calculation. The figure may therefore cover less than the full month.
  4. The battery trend is a heuristic — a half-period comparison of the discharge rate, no regression and no remaining-life date. It does not replace the self-test or a look at the manufacturing date.
  5. One report per month — if the server is down across the turn of the month, the previous month is not sent retroactively. The period can then be exported manually.
  6. Data sovereignty — measurements, history and reports stay exclusively on your server; there is no cloud and no telemetry. The PDF leaves the network only through the email channel you set up yourself, to the recipients you entered.
09 Checklist Before the first monthly report.

Checklist for meaningful reports

  1. Monitoring runs as a service — otherwise the time series ends with every logoff and the report shows gaps.
  2. Rated power and electricity price entered — “Rated Power (VA)” from the nameplate, “Electricity Price (€/kWh)” from the bill.
  3. Model and serial number stored — run the connection test in the UPS settings once; both then appear in the PDF header.
  4. Hosts assigned to the right UPS — only assigned hosts appear in the host availability of that UPS.
  5. Email channel tested — “Test Connection” in the alert manager, then “Send report now (current month)” in the “Reports” tab.
  6. Recipients and language set — enter the customer and your own mailbox, report language to match the recipient.
  7. Retention checked — the default of 90 days is enough for monthly reports; for quarterly comparisons raise ReportRetentionDays in config.json.
  8. First report proofread — check availability, unobserved and battery events against the month's log before it goes to the customer.
10 Questions Short answers to common questions.

Frequently asked questions

Why does the report show “–” instead of an availability percentage?

The dash means there is not enough measurement data to make a claim. The selected period contains no data point or only one, or the whole period is a data gap, for example because the service was not running. UPSmonitor deliberately shows no value in that case instead of reporting missing data as 100 percent.

Why is the energy consumption missing from my report?

The kWh estimate needs the rated power of the UPS in volt-amperes. As long as the “Rated Power (VA)” field in the UPS settings is 0, the energy consumption section stays empty and the report shows a note to that effect. For the cost estimate, the electricity price in euros per kWh must also be greater than 0.

Can the monthly report go directly to the customer?

Yes. The “Recipients” field takes any addresses, comma-separated, for example the customer's management and the MSP's ticket mailbox. If the field is empty, reports go to the alert recipients of the email channel. The report language is set separately to German or English. Sending uses your own SMTP or Microsoft Graph channel; no 247-IT server is involved.

What happens if the server was switched off on the send day?

The service checks every 30 minutes whether the send time of the current month has passed and the report has not been sent yet. If the server was off on the send day, it catches up on the next run as long as the same calendar month is still running. If the server is down across the turn of the month, the previous month's report is skipped; the status is shown under “Last sent”.

Figures you can stand behind in front of a customer

30 days free, every feature included. With availability and energy reports, battery health trend and a monthly manager report as a PDF by email.