Network UPS Tools
Network UPS Tools (NUT) is a suite of software component designed to monitor power devices, such as uninterruptible power supplies, power distribution units, solar controllers and servers power supply units. Many brands and models are supported and exposed via a network protocol and standardized interface.
Developer(s) | Evgeny "Jim" Klimov Arnaud Quette Arjen de Korte Charles Lepple Numerous contributors (...) |
---|---|
Initial release | March 8, 1998 |
Stable release | 2.7.4
/ March 9, 2016 |
Repository | |
Written in | C |
Operating system | Cross-platform |
License | GPL |
Website | http://networkupstools.org/ |
It follows a three-tier model with dozens of NUT device driver daemons that communicate with power-related hardware devices over selected media using vendor-specific protocols, the NUT server upsd which represents the drivers on the network (defaulting to IANA registered port 3493/tcp) using the standardized NUT protocol, and NUT clients (running on same localhost as the server, or on remote systems) which can manage the power devices and query their power states and other metrics for any applications, usually ranging from historic graphing and graceful shutdowns to orchestrated power failover and VM migration.
Clients maintained in the NUT codebase include upsc, upsrw and upscmd for command-line actions, upsmon for relatively simple monitoring and graceful shutdowns (considering the amount of minimally required vs. total available power source units in the current server), upssched for complex monitoring scenarios, upscgi for a simple web interface, a NUT-Monitor X11 desktop client, as well as C and C++ libraries for third-party clients.
Being a cross-platform project, NUT works on most Unix, BSD and Linux platforms with various system architectures, from embedded systems to venerable Solaris, HP-UX and AIX servers. There were also native Windows builds based on previous stable NUT release line, last being 2.6.5.
History
Pavel Korensky's original apcd provided the inspiration for pursuing the APC Smart-UPS protocol in 1996.[1] This is the same software that Apcupsd derived from, according to the Debian maintainer of the latter.[2]
Russell Kroll, the original NUT author and coordinator, released the initial package, named smartupstools, in 1998. The design already provided for two daemons, upsd (which serves data) and upsmon (which protects systems), a set of drivers and examples, a number of CGI modules and client integration, and a set of client CLI tools (upsc, upsrw and upscmd), for interfacing the system with a specific UPS of a given model.[3]
Arnaud Quette, the second project leader between 2004 and 2020, has set up a team of programmers and a project infrastructure and opened NUT to a wider "power broker" approach.
Evgeny "Jim" Klimov, the current project leader since 2020,[4] focuses first on automated testing and quality assurance of existing codebase to ensure minimal breakage introduced by new contributions, as well as to clean up older technical debts and inconsistencies highlighted by modern lint and coverage tools,[5] and issuing a long-overdue new official release.
Over its two-decade history, the open-source project became the de-facto standard solution for UPS monitoring provided with OS distributions and embedded into many NAS solutions, some converged hypervisor set-ups, and other appliances, and enjoyed contributions and support from numerous end-users as well as representatives of power hardware vendors providing protocol specifications, sample hardware, and in many cases new NUT driver code and subsequent fixes based on NUT community feedback.
See also
- APC UPS Daemon (Apcupsd), an alternative to NUT, specialized on UPS of the brand APC
- 42ITy.org is an open-source platform project dedicated to datacenter monitoring and resource usage optimization, which serves as the foundation to value-added Eaton IPM2 commercial offering; it uses NUT for power device interactions and contributed back many fixes and improvements
References
- Russell Kroll (25 November 2004). "Network UPS Tools: Acknowledgements". Retrieved 2010-06-09.
- Nils Rennebarth (1 Jul 1997). "apcupsd, genpower, and PowerChute(TM) "Black" cable". Retrieved 2010-06-09.
apcupsd is derived from apcd by Pavel Korensky
- The README file for smartupstools-0.20.
- https://alioth-lists.debian.net/pipermail/nut-upsdev/2020-November/007494.html
- https://alioth-lists.debian.net/pipermail/nut-upsdev/2020-November/007496.html