sloof3 Tux's lil' helper
Joined: 09 Sep 2004 Posts: 75
|
Posted: Sat Jul 23, 2005 6:16 pm Post subject: APCUPSD Remote Monitoring |
|
|
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. |
|