Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 277021 Details for
Bug 396481
/sbin/newhidups has been renamed, but the initscript hasn't been updated.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
ups.conf
ups.conf (text/plain), 3.66 KB, created by
Bruno Wolff III
on 2007-12-04 13:56:44 UTC
(
hide
)
Description:
ups.conf
Filename:
MIME Type:
Creator:
Bruno Wolff III
Created:
2007-12-04 13:56:44 UTC
Size:
3.66 KB
patch
obsolete
># Network UPS Tools: example ups.conf ># ># --- SECURITY NOTE --- ># ># If you use snmp-ups and set a community string in here, you ># will have to secure this file to keep other users from obtaining ># that string. It needs to be readable by upsdrvctl and any drivers, ># and by upsd. ># ># --- ># ># This is where you configure all the UPSes that this system will be ># monitoring directly. These are usually attached to serial ports, but ># USB devices and SNMP devices are also supported. ># ># This file is used by upsdrvctl to start and stop your driver(s), and ># is also used by upsd to determine which drivers to monitor. The ># drivers themselves also read this file for configuration directives. ># ># The general form is: ># ># [upsname] ># driver = <drivername> ># port = <portname> ># < any other directives here > ># ># The section header ([upsname]) can be just about anything as long as ># it is a single word inside brackets. upsd uses this to uniquely ># identify a UPS on this system. ># ># If you have a UPS called snoopy, your section header would be "[snoopy]". ># On a system called "doghouse", the line in your upsmon.conf to monitor ># it would look something like this: ># ># MONITOR snoopy@doghouse 1 upsmonuser mypassword master ># ># It might look like this if monitoring in slave mode: ># ># MONITOR snoopy@doghouse 1 upsmonuser mypassword slave ># ># Configuration directives ># ------------------------ ># ># These directives are common to all drivers that support ups.conf: ># ># driver: REQUIRED. Specify the program to run to talk to this UPS. ># apcsmart, bestups, and sec are some examples. ># ># port: REQUIRED. The serial port where your UPS is connected. ># /dev/ttyS0 is usually the first port on Linux boxes, for example. ># ># sdorder: optional. When you have multiple UPSes on your system, you ># usually need to turn them off in a certain order. upsdrvctl ># shuts down all the 0s, then the 1s, 2s, and so on. To exclude ># a UPS from the shutdown sequence, set this to -1. ># ># The default value for this parameter is 0. ># ># nolock: optional, and not recommended for use in this file. ># ># If you put nolock in here, the driver will not lock the ># serial port every time it starts. This may allow other ># processes to seize the port if you start more than one by ># mistake. ># ># This is only intended to be used on systems where locking ># absolutely must be disabled for the software to work. ># ># maxstartdelay: optional. This can be set as a global variable ># above your first UPS definition and it can also be ># set in a UPS section. This value controls how long ># upsdrvctl will wait for the driver to finish starting. ># This keeps your system from getting stuck due to a ># broken driver or UPS. ># ># The default is 45 seconds. ># ># ># Anything else is passed through to the hardware-specific part of ># the driver. ># ># Examples ># -------- ># ># A simple example for a UPS called "powerpal" that uses the megatec ># driver on /dev/ttyS0 is: ># ># [powerpal] ># driver = megatec ># port = /dev/ttyS0 ># desc = "Web server" ># ># If your UPS driver requires additional settings, you can specify them ># here. For example, if it supports a setting of "1234" for the ># variable "cable", it would look like this: ># ># [myups] ># driver = mydriver ># port = /dev/ttyS1 ># cable = 1234 ># desc = "Something descriptive" ># ># To find out if your driver supports any extra settings, start it with ># the -h option and/or read the driver's documentation. > >[ups] > driver = usbhid-ups > desc = "bruno.wolff.to" > port = auto
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 396481
: 277021