Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

hosts.conf(5) [freebsd man page]

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

NAME
hosts.conf - Access control for Network UPS Tools CGI programs DESCRIPTION
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. DIRECTIVES
MONITOR ups description The ups 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". SEE ALSO
upsset.cgi(8), upsstats.cgi(8), upsimage.cgi(8) Internet resources: The NUT (Network UPS Tools) home page: http://www.networkupstools.org/ Network UPS Tools 05/22/2012 HOSTS.CONF(5)

Check Out this Related Man Page

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

NAME
hosts.conf - Access control for Network UPS Tools CGI programs DESCRIPTION
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. DIRECTIVES
MONITOR ups description The ups 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". SEE ALSO
upsset.cgi(8), upsstats.cgi(8), upsimage.cgi(8) Internet resources: The NUT (Network UPS Tools) home page: http://www.networkupstools.org/ Network UPS Tools 05/22/2012 HOSTS.CONF(5)
Man Page

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Network down when visitors are over 300

Hi, there. Recently one of my friends used FreeBSD 4.8 to setup a web server, and the network connection is 100MB/s. But every time when the visitors approached 300 people, the network turned so slow, and eventually "dead". Why is that? And how should we solve this problem. I don't know what... (7 Replies)
Discussion started by: HOUSCOUS
7 Replies

2. UNIX for Dummies Questions & Answers

HOSTS File

Hi All, I am to the UNIX world and want to know if I can specify a range of IP addresses instead of having to include one by one on the HOSTS file. Can I just say 127.20.1.1 to 127.20.1.156 ? Or the only way is to put one by one along with the machine name next to the IP ? THANKS (4 Replies)
Discussion started by: cymerman
4 Replies

3. What is on Your Mind?

Network Simulations...

Hi friends, I am doing my Masters in Electrical Engineering. I was just given a chance to be a RA if I can show some smoothness in my coding with Network Simulation (NS-2). I was just wondering if any of you people is working with Network Simulators. Can anybody tell me the future of it in terms... (2 Replies)
Discussion started by: MULTIVERSE
2 Replies

4. Shell Programming and Scripting

Need to convert the content of file into COLUMN (To export into excel)

I have multiple condition in file as below. MONITOR "ALERT_INFO" DESCRIPTION "Triggered when informational Netware alert occured" MAXTHRESHOLD 95 SEVERITY Normal MONITOR "ALERT_MAJOR" DESCRIPTION "Triggered when major Netware alert occured" MAXTHRESHOLD SEVERITY Major I need to... (6 Replies)
Discussion started by: velocitnitin
6 Replies

5. Web Development

Apache vhost redirect to a cgi file

Hi guys, I've been trying to figure this out all day however havent managed to as of yet. I have a server called netmon (network monitoring) which runs a multitude of programs to monitor the network. I also have a cname pointing to netmon called smokeping. At the moment to access smokeping... (0 Replies)
Discussion started by: JayC89
0 Replies

6. UNIX for Dummies Questions & Answers

Webserver permission denied error

Hello, I was trying a perl-cgi tutorial and saving the data from online form to a file named (guests.txt). I am using the localhost port 80 for practice. My page file "guestbook.html" is working as I saw the online form. After filled out the blanks and submit, I was expecting to see the result... (3 Replies)
Discussion started by: yifangt
3 Replies