1HOSTS.CONF(5)                     NUT Manual                     HOSTS.CONF(5)
2
3
4

NAME

6       hosts.conf - Access control for Network UPS Tools CGI programs
7

DESCRIPTION

9       The CGI programs (upsset.cgi(8), upsstats.cgi(8), upsimage.cgi(8)) use
10       this file to determine if they are allowed to talk to a host. This
11       keeps random visitors from using your web server to annoy others by
12       creating outgoing connections.
13

DIRECTIVES

15       MONITOR ups description
16           The ups element is in the form upsname[@hostname[:port]]. To allow
17           connections to a UPS called "snoopy" on a system called "doghouse"
18           that runs upsd on port 7877, it would look like this:
19
20               MONITOR snoopy@doghouse:7877 "Joe Cool"
21
22           The description must be one element, so if it has spaces, then it
23           must be wrapped with quotes as shown above. The default hostname is
24           "localhost".
25

SEE ALSO

27       upsset.cgi(8), upsstats.cgi(8), upsimage.cgi(8)
28
29   Internet resources:
30       The NUT (Network UPS Tools) home page: http://www.networkupstools.org/
31
32
33
34Network UPS Tools 2.7.3.          03/02/2016                     HOSTS.CONF(5)
Impressum