upsimage.cgi(8) Network UPS Tools (NUT) upsimage.cgi(8)NAMEupsimage.cgi - Image-generating helper for upsstats.cgiSYNOPSISupsimage.cgiNOTEAs a CGI program, this should be invoked through your web server. If you run it from the command line, it will either complain about unau- thorized access or spew a PNG at you.DESCRIPTIONupsimage.cgi generates the graphical bars that make up the right side of the page generated by upsstats.cgi(8). These represent the cur- rent battery charge, utility voltage, and UPS load where available. The images are in PNG format, and are created by linking to Boutell's excellent gd library.ACCESS CONTROLupsstats will only talk to upsd(8) servers that have been defined in your hosts.conf(5). If it complains about "Access to that host is not authorized", check that file first.FILEShosts.conf(5)SEE ALSOupsstats.cgi(8) Internet resources: The gd home page: http://www.boutell.com/gd/ The NUT (Network UPS Tools) home page: http://www.exploits.org/nut/ NUT mailing list archives and information: http://lists.exploits.org/ Wed Oct 16 2002 upsimage.cgi(8)