Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
APCUPSD Remote Monitoring
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
sloof3
Tux's lil' helper
Tux's lil' helper


Joined: 09 Sep 2004
Posts: 75

PostPosted: Sat Jul 23, 2005 6:16 pm    Post subject: APCUPSD Remote Monitoring Reply with quote

I've got an APC BackupUPS ES 750. I've setup APCUPSD to monitor the UPS and shutdown my machine. Which by the way was thanks to this HOWTO: https://forums.gentoo.org/viewtopic-t-135468.html What I want to do now is monitor the UPS using one of the supplied CGI scripts that come with the pogram. Unfortunately it sounds like I have to have APCUPSD running on that machine that hosts the CGI script. My question is is there a way to monitor the UPS attached my workstation from a remote webserver that has a CGI script running that doesn't require APCUPSD to be running locally?

Here is my apcupsd.conf file

## apcupsd.conf v1.1 ##
UPSNAME Workstation-ES750
UPSCABLE usb
UPSTYPE usb
LOCKFILE /var/lock
ONBATTERYDELAY 6
BATTERYLEVEL 5
MINUTES 3
TIMEOUT 0
ANNOY 300
ANNOYDELAY 60
NOLOGON disable
KILLDELAY 0
NETSERVER on
NISPORT 3551
EVENTSFILE /var/log/apcupsd.events
EVENTSFILEMAX 10
UPSCLASS standalone
UPSMODE disable
STATTIME 0
STATFILE /var/log/apcupsd.status
LOGSTATS off
DATATIME 0

apcaccess status:

DATE : Sat Jul 23 14:09:35 EDT 2005
HOSTNAME : p4linux
RELEASE : 3.10.17
VERSION : 3.10.17 (18 March 2005) gentoo
UPSNAME : Workstation-ES750
CABLE : USB Cable
MODEL : Back-UPS ES 750
UPSMODE : Stand Alone
STARTTIME: Sat Jul 23 01:28:33 EDT 2005
STATUS : ONLINE
LINEV : 115.0 Volts
LOADPCT : 0.0 Percent Load Capacity
BCHARGE : 100.0 Percent
TIMELEFT : 57.8 Minutes
MBATTCHG : 5 Percent
MINTIMEL : 3 Minutes
MAXTIME : 0 Seconds
LOTRANS : 088.0 Volts
HITRANS : 138.0 Volts
ALARMDEL : Always
BATTV : 13.6 Volts
NUMXFERS : 4
XONBATT : Sat Jul 23 13:50:24 EDT 2005
TONBATT : 0 seconds
CUMONBATT: 128 seconds
XOFFBATT : Sat Jul 23 13:50:34 EDT 2005
STATFLAG : 0x02000008 Status Flag
MANDATE : 2005-05-29
SERIALNO : AB0522227564
BATTDATE : 2000-00-00
NOMBATTV : 12.0
FIRMWARE : 19.z2.D USB FW:z2
APCMODEL : Back-UPS ES 750
END APC : Sat Jul 23 14:10:30 EDT 2005


The monitoring webserver is an OpenBSD box if that would make a difference.
Thanks in advance.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum