Monitor UPS Line Voltage?


Recommended Posts

I now have my server connected to a CyberPower 1350 VA 810 Watts UPS.

I can see that the UPSsettings displays the current Line Voltage.

Is it possible to view a historical graph of this to monitor brownouts etc?

I can recall having my PC connected to a UPS many years ago and the Windows App had great graphing and historical data for analysis purposes.

 

Cheers.

Link to comment

It's possible to see an instantaneous snapshot of your UPS data at the command line.

root@Tower:~# apcaccess 
APC      : 001,032,0751
DATE     : 2018-04-08 21:19:38 -0700  
HOSTNAME : Tower
VERSION  : 3.14.14 (31 May 2016) slackware
UPSNAME  : Tower
CABLE    : USB Cable
DRIVER   : USB UPS Driver
UPSMODE  : Stand Alone
STARTTIME: 2018-04-08 21:10:06 -0700  
MODEL    : CP1500PFCLCD
STATUS   : ONLINE 
LINEV    : 120.0 Volts
LOADPCT  : 8.0 Percent
BCHARGE  : 100.0 Percent
TIMELEFT : 94.0 Minutes
MBATTCHG : 10 Percent
MINTIMEL : 10 Minutes
MAXTIME  : 0 Seconds
OUTPUTV  : 120.0 Volts
DWAKE    : -1 Seconds
LOTRANS  : 88.0 Volts
HITRANS  : 139.0 Volts
ALARMDEL : 30 Seconds
NUMXFERS : 0
TONBATT  : 0 Seconds
CUMONBATT: 0 Seconds
XOFFBATT : N/A
SELFTEST : NO
STATFLAG : 0x05000008
SERIALNO : 000000000000
NOMINV   : 120 Volts
NOMPOWER : 900 Watts
END APC  : 2018-04-08 21:19:39 -0700  

 

I'm crating historical graphs of various things on my system (disk and system temperatures, CPU and network activity, etc) using Grafana/InfluxDB/Telegraf based on the instructions here: https://www.reddit.com/r/unRAID/comments/7c2l2w/howto_monitor_unraid_with_grafana_influxdb_and/

 

What I can't figure out is how to get Telegraf to grab the info from 'apcaccess' and stuff it into the DB for Grafana to display.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.