Better notification of UPS transients and brownouts

Status
Not open for further replies.

RoboKaren

Contributor
Joined
Apr 8, 2014
Messages
130
I have a CyberPower UPS attached to my FreeNAS 9.10 system. I also have the UPS daemon set up through the Freenas control panel.

I've never gotten an e-mail from the UPS via FreeNAS saying that the system has experienced a transient or brownout. We recently had a spate of thunderstorms and I know the lights flickered several times.

I'd like it if the UPS (aka FreeNAS) were more talkative, telling me that it's experiencing transients or brownouts. My model has AVR but I'd prefer to know it's alive and doing something.

For example, I really like my daily harddisk temperature and SMART status e-mail via a script that someone posted on this forum. It definitely gives me a heads up as to whether a drive is dying.

This is especially the case when the system is remote.

Is there a way to set the UPS daemon to be more talkative via script or setting? I'd ideally like a daily warning saying that it experienced %x transients and had %y low-voltage (<110vac) events if they occured.

===
Code:
upsc ups@localhost
battery.charge: 100
battery.charge.low: 10
battery.charge.warning: 20
battery.mfr.date: CPS
battery.runtime: 3300
battery.runtime.low: 300
battery.type: PbAcid
battery.voltage: 24.0
battery.voltage.nominal: 24
device.mfr: CPS
device.model: CST135XLU
device.serial: CR7FT200xxxx
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.3
driver.version.data: CyberPower HID 0.4
driver.version.internal: 0.39
input.voltage: 117.0
input.voltage.nominal: 120
output.voltage: 141.0
ups.beeper.status: enabled
ups.delay.shutdown: 20
ups.delay.start: 30
ups.load: 15
ups.mfr: CPS
ups.model: CST135XLU
ups.productid: 0501
ups.realpower.nominal: 810
ups.serial: CR7FT200xxxx
ups.status: OL
ups.test.result: No test initiated
ups.timer.shutdown: -60
ups.timer.start: -60
ups.vendorid: 0764
 

RoboKaren

Contributor
Joined
Apr 8, 2014
Messages
130
I was hoping that FreeNAS (or one of its fantastic users) could script up something that would expose this in a more user friendly way. Power quality monitoring is a component of any serious NAS -- isn't it?

For example, it would be great if the statistics/reporting section gave us something similar to this view:

146308-1.png
 
Status
Not open for further replies.
Top