nut-debian/man/hosts.conf.5
2010-03-26 00:20:59 +01:00

31 lines
1.0 KiB
Groff

.TH HOSTS.CONF 5 "Mon Jan 22 2007" "" "Network UPS Tools (NUT)"
.SH NAME
hosts.conf \- Access control for Network UPS Tools CGI programs
.SH DESCRIPTION
The CGI programs (\fBupsset.cgi\fR(8), \fBupsstats.cgi\fR(8),
\fBupsimage.cgi(8)\fR) use this file to determine if they are allowed to
talk to a host. This keeps random visitors from using your web server
to annoy others by creating outgoing connections.
.SH DIRECTIVES
.IP "MONITOR \fIups\fR \fIdescription\fR"
The \fIups\fR element is in the form "upsname[@hostname[:port]]".
To allow connections to a UPS called "snoopy" on a system called
"doghouse" that runs upsd on port 7877, it would look like this:
MONITOR snoopy@doghouse:7877 "Joe Cool"
The description must be one element, so if it has spaces, then it must
be wrapped with quotes as shown above. The default hostname is
"localhost".
.SH SEE ALSO
\fBupsset.cgi\fR(8), \fBupsstats.cgi\fR(8), \fBupsimage.cgi\fR(8)
.SS Internet resources:
The NUT (Network UPS Tools) home page: http://www.networkupstools.org/