1UPSSTATS.CGI(8) NUT Manual UPSSTATS.CGI(8)
2
3
4
6 upsstats.cgi - Web-based UPS status viewer
7
9 upsstats.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 bunch of HTML at you.
15
17 upsstats.cgi uses template files to build web pages containing status
18 information from UPS hardware. It can repeat sections of those template
19 files to monitor several UPSes simultaneously, or focus on a single
20 UPS.
21
22 These templates can also include references to upsimage.cgi(8) for
23 graphical displays of battery charge levels, voltage readings, and the
24 UPS load.
25
27 upsstats will only talk to upsd(8) servers that have been defined in
28 your hosts.conf(5). If it complains that "Access to that host is not
29 authorized", check that file first.
30
32 The web page that is displayed is actually a template containing
33 commands to upsstats which are replaced by status information. The
34 default file used for the overview is upsstats.html.
35
36 When monitoring a single UPS, the file displayed is
37 upsstats-single.html.
38
39 The format of these files, including the possible commands, is
40 documented in upsstats.html(5).
41
43 hosts.conf(5), upsstats.html(5), upsstats-single.html
44
46 upsimage.cgi(8)
47
48 Internet resources:
49 The NUT (Network UPS Tools) home page: http://www.networkupstools.org/
50
51
52
53Network UPS Tools 2.8.0 04/26/2022 UPSSTATS.CGI(8)