GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
HOSTS.CONF(5) NUT Manual HOSTS.CONF(5)

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

The CGI programs (upsset.cgi(8), upsstats.cgi(8), upsimage.cgi(8)) 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.

•Contents of this file should be pure ASCII (character codes not in range would be ignored with a warning message).

•This file does not contain passwords. Read-only monitoring in NUT is anonymous, and the upsset(8) program asks for credentials in the browser session when commanding a particular UPS (web-server should be secured, as reported to the program by upsset.conf(5) file).

MONITOR ups description

The ups element is in the form upsname[@hostname[:port]].

To allow connections to an 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".

upsset.cgi(8), upsstats.cgi(8), upsimage.cgi(8)

The NUT (Network UPS Tools) home page: https://www.networkupstools.org/

07/18/2025 Network UPS Tools 2.8.3.

Search for    or go to Top of page |  Section 5 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.