NETXML-UPS(8)
π NETXML-UPS β¨
okay bestie, welcome to the manual page for netxml-ups, a driver for Eaton / MGE Network Management Card / Proxy (XML/HTTP Protocol) equipment. it lives in the NUT Manual, section 8, and it's genuinely so iconic. let's get into it π«Ά
πΈ NAME πΈ
netxml-ups β the driver that talks to Eaton / MGE Network Management Card / Proxy (XML/HTTP Protocol) equipment. no cap, that's the whole vibe.
β¨ SYNOPSIS β¨
netxml-ups -h
netxml-ups -a UPS_NAME [OPTIONS]
note bestie π this man page only spills about the hardware-specific stuff for thenetxml-upsdriver. for the core driver tea, go readnutupsdrv(8). iykyk.
π SUPPORTED HARDWARE π
netxml-ups supports all the recent Eaton / MGE models that use a Network Management Card or Proxy (MGE XML/HTTP protocol based). that means both Eaton (previously MGE Office Protection Systems) and MGE UPS SYSTEMS. the supported card and proxy models are:
- NMC Minislot (Ref
66102, firmwareEAor newer), - SNMP/Web Minislot card (Ref
66244) - NMC Transverse (Ref
66074), - NMC & Modbus/JBus (Ref
66103), - Network Management Proxy,
- ePDU Monitored (newer version).
older models β like the SNMP card (Ref 66062 and Ref 66045) β use the SNMP protocol instead, so they should use the snmp-ups(8) driver with the mibs=mge parameter. different era, different driver, we don't judge π
π EXTRA ARGUMENTS π
this driver supports these optional settings in ups.conf(5):
timeout=valueβ the timeout for connecting to and reading from the UPS. defaults to5seconds. do not change this value unless you know exactly what you're doing, fr fr.
this value must never be higher than half theMAXAGEvalue specified inupsd.conf(5). otherwise you run the risk thatupsd(8)declares the driver stale while it's waiting for a connection to timeout. that's the drama we're avoiding π
subscribeβ connect to the NMC in subscribed mode. this lets you receive notifications and alarms more quickly, on top of the standard polling requests. lowkey faster, highkey useful β¨login=valueβ set the login value for authenticated mode. this feature also needs thepasswordargument, and it allows value settings in the card. this feature is not used yet. (it's giving "coming soon", but for real it's just not used yet.)password=valueβ set the password value, needed with theloginfor authenticated mode. this feature is not used yet. same energy as above, bestie.shutdown_duration=valueβ set the shutdown duration of the operating system, in seconds. this represents the amount of time needed by the system to operate a clean shutdown. defaults to120seconds.shutdown_timer=valueβ set the shutdown timer, in seconds. aftervalueseconds running on battery, the local system will receive a notification to shut down. defaults to"none"(disabled).do_convert_deciβ if this flag value is present, the driver assumes you have a very old MGE networked UPS (or rather an old network management card firmware) which serves certain measurements spelled10xtoo big in the XML markup.
originally such measurements were decimated by the driver β but this is wrong for newer, more sane, devices β so this behavior was deprecated and is now disabled by default. enabling this flag in configuration of a particular driver instance restores the old behavior for those measurements. legacy vibes only, handle with care π
π IMPLEMENTATION π
the hostname of the networked UPS is specified with the port value in ups.conf, i.e.:
[mgexml]
driver = netxml-ups
port = http://netxml-ups.example.com:80
specifying the method to connect to the UPS (http, https) is mandatory. if the port is equal to the default for the method specified (80 for http, 443 for https) it may be omitted. cute little shortcut, we love efficiency π
in order not to overload older NMCs by polling them too frequently, it is recommended to increase the "pollinterval" (see nutupsdrv(8)) and ups.conf(5)) to at least 5 seconds.
π KNOWN ISSUES π
HTTP(S) proxies
don't connect to the UPS through a proxy. although it would be trivial to add support for proxies, this is not recommended and don't ask for it. not only because it will prevent the driver to make a persistent connection to the UPS, but also it adds an additional failure mode. if the proxy goes down (for whatever reason), the driver will no longer be able to reach the UPS. periodt.
Using host names for UPS NMC
an UPS network management card may be assigned a fixed/static IP address or a dynamic one (e.g. by DHCP) in your network. because of this, you may want or have to use a dynamic naming service to access the UPS. note that this may become a problem specifically during large outages and shutdowns, when your DHCP/DNS server might already go down while the driver needs to resolve the name involved (especially during late-shutdown hooks, when a new instance of the driver program might start just to tell the UPS to power off or to power-cycle). π the timing is so bad, genuinely.
it may be wise to ensure your OS name service client can cache the UPS name sufficiently long, or to use fixed IP addressing (and an entry in /etc/hosts for good measure, so you only have one spot to eventually re-configure this). main character energy: be prepared π
π AUTHORS π
Arjen de Korte <adkorte-guest@alioth.debian.org>
π¦ SEE ALSO π¦
The core driver:
Internet resources:
The NUT (Network UPS Tools) home page: https://www.networkupstools.org/historic/v2.8.5/
and that's the whole page, bestie!! this was Network UPS Tools 2.8.5, dated 10/07/2026. go forth and monitor those UPSes responsibly πβ¨πΈ
π¦ where this page comes from
- fedora 43: nut-xml 2.8.5-9.fc43 Β· GPL-2.0-or-later AND GPL-3.0-or-later
- fedora 44: nut-xml 2.8.5-9.fc44 Β· GPL-2.0-or-later AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms