SOLVED UPS Setup Questions

Status
Not open for further replies.

NasKar

Guru
Joined
Jan 8, 2016
Messages
739
I have my FreeNAS plugged into the master outlet in my APC Back-UPS Pro 1000 G and the USB plugged into my NAS. When I initially did it it used /dev/ugen0.7 . After a reboot it changed to /dev/ugen0.4. Is that normal to have it change? After a reboot you have to adj the setup of the UPS in the services tab?

How do I know if everything is working properly? Will I get an email when I unplug the UPS as a test (for a power failure)?
 
Last edited by a moderator:

BigDave

FreeNAS Enthusiast
Joined
Oct 6, 2013
Messages
2,479
After a reboot it changed to /dev/ugen0.4. Is that normal to have it change?
It should not have an effect.

After a reboot you have to adj the setup of the UPS in the services tab?
Yes, follow the directions in the manual. http://doc.freenas.org/9.10/services.html#ups

How do I know if everything is working properly? Will I get an email when I unplug the UPS as a test (for a power failure)?
The log will show that the UPS is connected and if the settings and driver are correct, you should receive an email and the NAS should power down after a given time while running off the battery.
 

NasKar

Guru
Joined
Jan 8, 2016
Messages
739
The log will show that the UPS is connected and if the settings and driver are correct, you should receive an email and the NAS should power down after a given time while running off the battery.
Where is the log file located? When I unplugged the UPS I didn't get a email. Does it only send a email if it is going to power down?
Code:
upsc ups@localhost
battery.charge: 100
battery.charge.low: 10
battery.charge.warning: 50
battery.date: 2001/09/25
battery.mfr.date: 2010/08/05
battery.runtime: 4892
battery.runtime.low: 120
battery.type: PbAc
battery.voltage: 27.3
battery.voltage.nominal: 24.0
device.mfr: American Power Conversion
device.model: Back-UPS BR1000G
device.serial: 3B1032X37553
device.type: ups
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: /dev/ugen0.4
driver.parameter.synchronous: no
driver.version: 2.7.3
driver.version.data: APC HID 0.95
driver.version.internal: 0.39
input.sensitivity: medium
input.transfer.high: 147
input.transfer.low: 88
input.transfer.reason: input voltage out of range
input.voltage: 122.0
input.voltage.nominal: 120
ups.beeper.status: disabled
ups.delay.shutdown: 20
ups.firmware: 868.L1 .D
ups.firmware.aux: L1
ups.load: 9
ups.mfr: American Power Conversion
ups.mfr.date: 2010/08/05
ups.model: Back-UPS BR1000G
ups.productid: 0002
ups.realpower.nominal: 600
ups.serial: 3B1032X37553
ups.status: OL
ups.test.result: No test initiated
ups.timer.reboot: 0
ups.timer.shutdown: -1
ups.vendorid: 051d


Here are my settings
working settings.jpg
 

BigDave

FreeNAS Enthusiast
Joined
Oct 6, 2013
Messages
2,479
Do you have your email configured properly under System > Email? Are you using the same email address for the UPS service?

You can view your log printout by using SSH and type in

cat /var/log/messages
 

NasKar

Guru
Joined
Jan 8, 2016
Messages
739
Do you have your email configured properly under System > Email? Are you using the same email address for the UPS service?
I'm using the same email that is in system>email and I already get other emails from the system. Do I have to enable email for a user other than root?
 

NasKar

Guru
Joined
Jan 8, 2016
Messages
739
@BigDave It turns out that the email needs the pw to be re entered after a reboot for it to work. The system does send me an email when I loose power to the UPS. Thanks for your help.
 
Status
Not open for further replies.
Top