Hi All,
Installed a CP1000PFCLCD today. Freenas seems to talk to it just fine, at least NUT is reporting it can communicate.
Issuing a upsmon -c fsd, causes freenas to shut down as expected.
However, pulling the plug on the UPS results in the following messages on the console.
At which point I plugged it back in again.
Here's the UPS settings from upsc:
So, I must be missing something dumb. How do I get this UPS to actually issue a shutdown freenas?
Note, I tried setting the ups.conf offdelay ondelay values previously, which resulted in the UPS powering down the computer after the offdelay time without actually having freenas shut down!!! It appears the ups was issued a shutdown command and did as it was told, however freenas didn't shut down when requested because that ups.status indicates the UPS is still one line, even though it's power cord is unplugged...
Again, This shouldn't be this hard.
Thanks,
Dan
Installed a CP1000PFCLCD today. Freenas seems to talk to it just fine, at least NUT is reporting it can communicate.
Issuing a upsmon -c fsd, causes freenas to shut down as expected.
However, pulling the plug on the UPS results in the following messages on the console.
Code:
May 23 18:49:35 FreeNAS upsmon[5148]: UPS CP1000 on battery May 23 18:51:35 FreeNAS upssched-cmd: Shutdown not initiated as ups.status indicates CP1000 is ONLINE (OL)
At which point I plugged it back in again.
Code:
May 23 18:53:56 FreeNAS upsmon[5148]: UPS CP1000 on line power
Here's the UPS settings from upsc:
Code:
battery.charge: 89 battery.charge.low: 10 battery.charge.warning: 20 battery.mfr.date: CPS battery.runtime: 2625 battery.runtime.low: 300 battery.type: PbAcid battery.voltage: 24.0 battery.voltage.nominal: 24 device.mfr: CPS device.model: CP1000PFCLCD device.serial: 000000000000 device.type: ups driver.name: usbhid-ups driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 2 driver.parameter.port: /dev/ugen0.2 driver.parameter.synchronous: no driver.version: 2.7.4 driver.version.data: CyberPower HID 0.4 driver.version.internal: 0.41 input.transfer.high: 139 input.transfer.low: 88 input.voltage: 0.0 input.voltage.nominal: 120 output.voltage: 136.0 ups.beeper.status: enabled ups.delay.shutdown: 20 ups.delay.start: 30 ups.load: 9 ups.mfr: CPS ups.model: CP1000PFCLCD ups.productid: 0501 ups.realpower.nominal: 600 ups.serial: 000000000000 ups.status: OB DISCHRG ups.test.result: No test initiated ups.timer.shutdown: -60 ups.timer.start: -60 ups.vendorid: 0764
So, I must be missing something dumb. How do I get this UPS to actually issue a shutdown freenas?
Note, I tried setting the ups.conf offdelay ondelay values previously, which resulted in the UPS powering down the computer after the offdelay time without actually having freenas shut down!!! It appears the ups was issued a shutdown command and did as it was told, however freenas didn't shut down when requested because that ups.status indicates the UPS is still one line, even though it's power cord is unplugged...
Again, This shouldn't be this hard.
Thanks,
Dan