Differences between version 5 and previous revision of NutNotes.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 5 | Last edited on Friday, September 14, 2007 12:13:34 pm | by JohnMcPherson | Revert |
Older page: | version 4 | Last edited on Friday, August 31, 2007 11:25:19 am | by JohnMcPherson | Revert |
@@ -1,11 +1,13 @@
!! Very brief overview
+
+'''upsd''' is the server, '''upsmon''' is the client.
* __ups.conf__ - this defines the UPSes that are connected to the server. You might see a process running like "''/lib/nut/newhidups -a YOUR_UPS_NAME''"
* __upsd.conf__ - the ''upsd'' daemon is the interface for other programs to connect and query the directly-connected UPSes. This config file controls some access restrictions.
* __upsmon.conf__ - ''upsmon'' is the program that periodically connects to upsd to get the status, and can run commands (eg to shutdown your server if the battery gets low)
-Other things like [Nagios] have clients that connect to ''upsd'' to query the status.
+Other things like [Nagios] have their own
clients that connect directly
to ''upsd'' to query the status.
!! Sample Configuration
This is a simple way of setting up the NUT ups monitoring system to shut servers down well before you get to powerfail status. If you lose power for more than about 5 seconds, chances are pretty good you're going to have lost it for a while, so you may as well shut things down now