shackrock
Explorer
- Joined
- Dec 21, 2011
- Messages
- 95
Ok so I have FreeNAS 8.3.1 STABLE (latest version).
I've set up my UPS, and I've found that it's on port /dev/ugen1.1 -> I know this because I turn the service on and can successfully type "upsc ups@localhost" and it spits out a bunch of info. So, I shut down the computer, and start it back up (unrelated reason) - and now when I run that command it says "Error: Data stale"
hmmmm
So, I stop the service in the GUI, and start it again, and now I see all the data again!
So.... why doesn't it work on first boot, will I need to always stop and start the service every time I restart the server (i.e. after a power outage...)?
update - ok already I've gotten this message on the console:
and I continue to get this over and over....:
Also, is there a way I can really test to see if it's working together? Is it simply to shut off the breaker, or is there a software-related test I can do to find out?
Thanks!
I've set up my UPS, and I've found that it's on port /dev/ugen1.1 -> I know this because I turn the service on and can successfully type "upsc ups@localhost" and it spits out a bunch of info. So, I shut down the computer, and start it back up (unrelated reason) - and now when I run that command it says "Error: Data stale"
hmmmm
So, I stop the service in the GUI, and start it again, and now I see all the data again!
Code:
[root@freenas] ~# upsc ups@localhost battery.charge: 100 battery.charge.low: 10 battery.charge.warning: 20 battery.mfr.date: CPS battery.runtime: 2760 battery.runtime.low: 300 battery.type: PbAcid battery.voltage: 8.7 battery.voltage.nominal: 12 device.mfr: CPS device.model: CP685AVRLCD-G device.type: ups driver.name: usbhid-ups driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 2 driver.parameter.port: /dev/ugen1.1 driver.version: 2.6.5 driver.version.data: CyberPower HID 0.3 driver.version.internal: 0.37 input.transfer.high: 140 input.transfer.low: 90 input.voltage: 121.0 input.voltage.nominal: 120 output.voltage: 121.0 ups.beeper.status: enabled ups.delay.shutdown: 20 ups.delay.start: 30 ups.load: 21 ups.mfr: CPS ups.model: CP685AVRLCD-G ups.productid: 0501 ups.realpower.nominal: 390 ups.status: OL ups.test.result: Done and passed ups.timer.shutdown: -60 ups.timer.start: 0 ups.vendorid: 0764
So.... why doesn't it work on first boot, will I need to always stop and start the service every time I restart the server (i.e. after a power outage...)?
update - ok already I've gotten this message on the console:
Code:
Broadcast Message from root@freenas.local (no tty) at 18:17 EDT... Communications with UPS ups lost
and I continue to get this over and over....:
Code:
Apr 3 18:18:53 freenas kernel: ugen1.3: <CPS> at usbus1 (disconnected) Apr 3 18:18:55 freenas upsmon[3825]: Poll UPS [ups] failed - Data stale Apr 3 18:18:56 freenas kernel: ugen1.3: <CPS> at usbus1 Apr 3 18:19:00 freenas upsmon[3825]: Poll UPS [ups] failed - Data stale Apr 3 18:19:03 freenas kernel: ugen1.3: <CPS> at usbus1 (disconnected) Apr 3 18:19:05 freenas upsmon[3825]: Poll UPS [ups] failed - Data stale Apr 3 18:19:05 freenas kernel: ugen1.3: <CPS> at usbus1 Apr 3 18:19:10 freenas upsmon[3825]: Poll UPS [ups] failed - Data stale Apr 3 18:19:13 freenas kernel: ugen1.3: <CPS> at usbus1 (disconnected) Apr 3 18:19:15 freenas upsmon[3825]: Poll UPS [ups] failed - Data stale Apr 3 18:19:15 freenas kernel: ugen1.3: <CPS> at usbus1
Also, is there a way I can really test to see if it's working together? Is it simply to shut off the breaker, or is there a software-related test I can do to find out?
Thanks!