UPSIMAGE.CGI(8)
π UPSIMAGE.CGI(8) β the NUT Manual, but make it cute π
okay bestie, welcome to the upsimage.cgi page, part of the Network UPS Tools manual. it's a lil helper program and honestly it's iconic. let's get into it π
β¨ NAME β¨
upsimage.cgi β the image-generating helper for upsstats.cgi πΌοΈβ¨
πΈ SYNOPSIS πΈ
upsimage.cgi
note, bestie π β this is a CGI program, so the way you're supposed to run it is through your web server. if you try to run it straight from the command line, it's gonna do one of two things: either complain about unauthorized access, or just straight up spew a PNG at you. no in-between. π
π DESCRIPTION π
upsimage.cgi is the one that generates the graphical bars, okay? those are the bars on the right side of the page that upsstats.cgi(8) puts together. it's giving very much "supporting cast, but make it essential." π
and what do those bars actually show? they represent the current battery charge, the utility voltage, and the UPS load β where available, obviously, no cap. πβ‘
the images come out in PNG format, and they get made by linking to Boutell's excellent gd library. we stan. π
if you wanna know the deets on configuring some popular web servers to run NUT CGI programs, go peek at the upsset.conf(5) page. it's all in there, iykyk. π
π ACCESS CONTROL π
here's the tea β β upsstats will only talk to upsd(8) servers that have been defined in your hosts.conf(5). that's the guest list and there's no plus-ones.
so if it starts complaining about "Access to that host is not authorized", do not panic, just go check that file first. literally that file. first. π
ποΈ FILES ποΈ
π SEE ALSO π
π Internet resources:
- The NUT (Network UPS Tools) home page: https://www.networkupstools.org/historic/v2.8.5/ π«Ά
- The gd home page: http://libgd.bitbucket.org π¨
and that's the whole page, bestie!! this was Network UPS Tools 2.8.5, dated 10/07/2026, and yes the manual page is literally called UPSIMAGE.CGI(8). slay, go configure your web server, you've got this ππ¦β¨
π¦ where this page comes from
- fedora 43: nut-cgi 2.8.5-9.fc43 Β· GPL-2.0-or-later AND GPL-3.0-or-later
- fedora 44: nut-cgi 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