1UPSIMAGE.CGI(8) NUT Manual UPSIMAGE.CGI(8)
2
3
4
6 upsimage.cgi - Image-generating helper for upsstats.cgi
7
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
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
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
30 hosts.conf(5)
31
33 upsd(8), upsstats.cgi(8)
34
35 Internet resources:
36 The gd home page: http://libgd.bitbucket.org
37
38 The NUT (Network UPS Tools) home page: http://www.networkupstools.org/
39
40
41
42Network UPS Tools 2.7.3. 03/02/2016 UPSIMAGE.CGI(8)