nut-debian/docs/man/hosts.conf.txt

40 lines
1.0 KiB
Plaintext
Raw Normal View History

2011-01-26 11:35:08 +02:00
HOSTS.CONF(5)
=============
2010-03-26 01:20:59 +02:00
2011-01-26 11:35:08 +02:00
NAME
----
2010-03-26 01:20:59 +02:00
2011-01-26 11:35:08 +02:00
hosts.conf - Access control for Network UPS Tools CGI programs
DESCRIPTION
-----------
The CGI programs (linkman:upsset.cgi[8], linkman:upsstats.cgi[8],
linkman:upsimage.cgi[8]) use this file to determine if they are allowed to
2010-03-26 01:20:59 +02:00
talk to a host. This keeps random visitors from using your web server
to annoy others by creating outgoing connections.
2011-01-26 11:35:08 +02:00
DIRECTIVES
----------
2010-03-26 01:20:59 +02:00
2011-01-26 11:35:08 +02:00
*MONITOR* 'ups' 'description'::
2010-03-26 01:20:59 +02:00
2011-01-26 11:35:08 +02:00
The 'ups' element is in the form `upsname[@hostname[:port]]`.
2010-03-26 01:20:59 +02:00
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"
2011-01-26 11:35:08 +02:00
+
2010-03-26 01:20:59 +02:00
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".
2011-01-26 11:35:08 +02:00
SEE ALSO
--------
linkman:upsset.cgi[8], linkman:upsstats.cgi[8], linkman:upsimage.cgi[8]
2010-03-26 01:20:59 +02:00
2011-01-26 11:35:08 +02:00
Internet resources:
~~~~~~~~~~~~~~~~~~~
2010-03-26 01:20:59 +02:00
The NUT (Network UPS Tools) home page: http://www.networkupstools.org/