36 lines
1.1 KiB
Groff
36 lines
1.1 KiB
Groff
.TH upsimage.cgi 8 "Wed Oct 16 2002" "" "Network UPS Tools (NUT)"
|
|
.SH NAME
|
|
upsimage.cgi \- Image\(hygenerating helper for upsstats.cgi
|
|
.SH SYNOPSIS
|
|
.B upsimage.cgi
|
|
|
|
.SH NOTE
|
|
As a CGI program, this should be invoked through your web server.
|
|
If you run it from the command line, it will either complain about
|
|
unauthorized access or spew a PNG at you.
|
|
|
|
.SH DESCRIPTION
|
|
.B upsimage.cgi
|
|
generates the graphical bars that make up the right side
|
|
of the page generated by \fBupsstats.cgi\fR(8). These represent the
|
|
current 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.
|
|
|
|
.SH ACCESS CONTROL
|
|
upsstats will only talk to \fBupsd\fR(8) servers that have been defined
|
|
in your \fBhosts.conf\fR(5). If it complains about "Access to that host
|
|
is not authorized", check that file first.
|
|
|
|
.SH FILES
|
|
\fBhosts.conf\fR(5)
|
|
|
|
.SH SEE ALSO
|
|
\fBupsstats.cgi\fR(8)
|
|
|
|
.SS Internet resources:
|
|
|
|
The gd home page: http://www.boutell.com/gd/
|
|
|
|
The NUT (Network UPS Tools) home page: http://www.networkupstools.org/
|