[Nut-upsuser] Shutdown after 5 minutes?
Peter Selinger
selinger at mathstat.dal.ca
Sun Sep 10 16:10:47 UTC 2006
Rob wrote:
>
> > I would try the following: plug your computer into a wall outlet, plug
> > a desk lamp into the UPS. First, start the driver and upsd (but not
> > upsmon). Monitor the ups variables with upsc. Pull the power, wait 5
> > minutes or more, see what happens. Are there changes to ups.status?
> > Does the lamp go off? Normally, the lamp should not go off until the
> > battery runs out, which should happen some time after ups.status shows
> > "LB" (low battery). If the lamp goes off before that, there's a
> > problem.
> >
> > Then try the same thing again, this time with upsmon running. When the
> > UPS gets to "LB", then upsmon should start slowly shutting down the
> > computer. When the computer is in a safe state, the lamp should go off
> > (the computer will stay on, as it doesn't know it is not plugged into
> > the UPS).
>
> When I ran the first scenario you outlined, the UPS stayed on for about
> 5 minutes (slightly less) and then shut off. upsmod was not running,
> but upssched was running for a short while (after I removed power) until
> I realized it was running and killed it. Here is the info from upsc
> during the two relevant points (the second time being just after the UPS
> shut off)
>
> While plugged into the wall:
> battery.charge: 100.0
> battery.runtime: 64:41
> driver.name: cpsups
> driver.parameter.port: /dev/ttyS2
> driver.version: 2.0.4
> driver.version.internal: .04
> input.frequency: 60
> input.voltage: 122
> output.voltage: 122
> ups.load: 9
> ups.mfr: CyberPower
> ups.model: CPS1200VA 1.500
> ups.power.nominal: 1200
> ups.runtime: 70
> ups.status: OL
> ups.temperature: 28
>
> After power removed for ~5 minutes:
> battery.charge: 65.0
> battery.runtime: 46:29
> driver.name: cpsups
> driver.parameter.port: /dev/ttyS2
> driver.version: 2.0.4
> driver.version.internal: .04
> input.frequency: 0
> input.voltage: 0
> output.voltage: 0
> ups.load: 0
> ups.mfr: CyberPower
> ups.model: CPS1200VA 1.500
> ups.power.nominal: 1200
> ups.runtime: 70
> ups.status: OB
> ups.temperature: 42
Let me just clarify: was the lamp already off when you took this
second reading? -- Peter
> I didn't try the second scenario as the first one seemed to highlight an
> issue of some sort and I didn't think the second scenario would add much
> useful info. Was I correct, or should I also run the second scenario?
>
> Rob
More information about the Nut-upsuser
mailing list