1UPSIMAGE.CGI(8)                   NUT Manual                   UPSIMAGE.CGI(8)
2
3
4

NAME

6       upsimage.cgi - Image-generating helper for upsstats.cgi
7

SYNOPSIS

9       upsimage.cgi
10
11           Note
12           As a CGI program, this should be invoked through your web server.
13           If you run it from the command line, it will either complain about
14           unauthorized access or spew a PNG at you.
15

DESCRIPTION

17       upsimage.cgi generates the graphical bars that make up the right side
18       of the page generated by upsstats.cgi(8). These represent the current
19       battery charge, utility voltage, and UPS load where available.
20
21       The images are in PNG format, and are created by linking to Boutell’s
22       excellent gd library.
23

ACCESS CONTROL

25       upsstats will only talk to upsd(8) servers that have been defined in
26       your hosts.conf(5). If it complains about "Access to that host is not
27       authorized", check that file first.
28

FILES

30       hosts.conf(5)
31

SEE ALSO

33       upsd(8), upsstats.cgi(8)
34
35   Internet resources:
36       The gd home page: http://www.boutell.com/gd/
37
38       The NUT (Network UPS Tools) home page: http://www.networkupstools.org/
39
40
41
42Network UPS Tools                 09/15/2011                   UPSIMAGE.CGI(8)
Impressum