1upsimage.cgi(8) Network UPS Tools (NUT) upsimage.cgi(8)
2
3
4
6 upsimage.cgi - Image‐generating helper for upsstats.cgi
7
9 upsimage.cgi
10
11
13 As a CGI program, this should be invoked through your web server. If
14 you run it from the command line, it will either complain about unau‐
15 thorized access or spew a PNG at you.
16
17
19 upsimage.cgi generates the graphical bars that make up the right side
20 of the page generated by upsstats.cgi(8). These represent the current
21 battery charge, utility voltage, and UPS load where available.
22
23 The images are in PNG format, and are created by linking to Boutell's
24 excellent gd library.
25
26
28 upsstats will only talk to upsd(8) servers that have been defined in
29 your hosts.conf(5). If it complains about "Access to that host is not
30 authorized", check that file first.
31
32
34 hosts.conf(5)
35
36
38 upsstats.cgi(8)
39
40
41 Internet resources:
42 The gd home page: http://www.boutell.com/gd/
43
44 The NUT (Network UPS Tools) home page: http://www.networkupstools.org/
45
46
47
48 Wed Oct 16 2002 upsimage.cgi(8)