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:


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