On Aug 31, 2012, at 5:26 PM, Petr Topiarz <[email protected]> wrote: > Hi Charles, > you're right, this is OpenBSD 5.1, I do not understand fully what you mean by > the shutdown sequence. I make my cron read the upsc output and tell the > system to shutdown if level is low. If the electricity supply is up again, my > server automaticaly wakes up, if this is what you mean. > Peter >
Often people will either let upsmon send a shutdown command when the UPS reports a low battery, or they use upssched to do so after a certain length of time on battery. There are several different types of shutdown commands for an UPS, and the support for them is not always consistent. > > > Dne 31.8.2012 23:15, Charles Lepple napsal(a): >> On Aug 30, 2012, at 5:18 AM, Petr Topiarz wrote: >> >>> UPS - CYBERPOWER CPS DX600E >>> >>> upsc usb@localhost >>> battery.charge: 100 >>> battery.charge.low: 10 >>> battery.charge.warning: 20 >>> battery.mfr.date: CPS >>> battery.runtime: 1650 >>> battery.runtime.low: 300 >>> battery.type: PbAcid >>> battery.voltage: 4.8 >>> battery.voltage.nominal: 12 >>> device.mfr: CPS >>> device.model: DX600E >>> device.type: ups >>> driver.name: usbhid-ups >>> driver.parameter.pollfreq: 30 >>> driver.parameter.pollinterval: 2 >>> driver.parameter.port: /dev/ugen0.00 >>> driver.version: 2.6.3-Unversioned directory >>> driver.version.data: CyberPower HID 0.3 >>> driver.version.internal: 0.35 >>> input.transfer.high: 0 >>> input.transfer.low: 0 >>> input.voltage: 230.0 >>> input.voltage.nominal: 230 >>> output.voltage: 239.0 >>> ups.beeper.status: enabled >>> ups.delay.shutdown: 20 >>> ups.delay.start: 30 >>> ups.load: 21 >>> ups.mfr: CPS >>> ups.model: DX600E >>> ups.productid: 0501 >>> ups.realpower.nominal: 360 >>> ups.status: OL >>> ups.timer.shutdown: -60 >>> ups.timer.start: 0 >>> ups.vendorid: 0764 >> Which OS is this? Looks like *BSD or Solaris? >> >> Also, can you provide a few more details from this* list? In particular, it >> is helpful to know if the shutdown sequence works. >> >> * http://www.networkupstools.org/stable-hcl.html#footnotes >> >>> Nut-upsdev mailing list >>> [email protected] >>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev > _______________________________________________ Nut-upsdev mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev
