February 2, 201313 yr I cannot get apcupsd to work on my second server. COuld anyone look over my settings to see what is wrong My servers are tower and tower2 TOWER /dev/ttyUSB0 smart 10 5 60 YES (from /sbin/apcaccess status) APC : 001,052,1254 DATE : Sat Feb 02 11:48:39 NST 2013 HOSTNAME : Tower RELEASE : 3.14.3 VERSION : 3.14.3 (20 January 2008) slackware UPSNAME : UPS_IDEN CABLE : Custom Cable Smart MODEL : SMART-UPS 1400 UPSMODE : Stand Alone STARTTIME: Sat Feb 02 10:13:27 NST 2013 STATUS : ONLINE LOWBATT LINEV : 115.7 Volts LOADPCT : 47.3 Percent Load Capacity BCHARGE : 100.0 Percent TIMELEFT : 0.0 Minutes MBATTCHG : 10 Percent MINTIMEL : 5 Minutes MAXTIME : 60 Seconds MAXLINEV : 117.0 Volts MINLINEV : 114.4 Volts OUTPUTV : 115.7 Volts SENSE : Low DWAKE : 000 Seconds DSHUTD : 020 Seconds DLOWBATT : 05 Minutes LOTRANS : 103.0 Volts HITRANS : 132.0 Volts RETPCT : 000.0 Percent ITEMP : 31.5 C Internal ALARMDEL : 5 seconds BATTV : 27.9 Volts LINEFREQ : 60.0 Hz LASTXFER : Automatic or explicit self test NUMXFERS : 0 TONBATT : 0 seconds CUMONBATT: 0 seconds XOFFBATT : N/A SELFTEST : NO STESTI : 336 STATFLAG : 0x07000048 Status Flag DIPSW : 0x00 Dip Switch REG1 : 0x00 Register 1 REG2 : 0x00 Register 2 REG3 : 0x00 Register 3 MANDATE : 04/01/98 SERIALNO : WS9814791375 BATTDATE : 04/17/06 NOMOUTV : 115 Volts NOMBATTV : 24.0 Volts EXTBATTS : 0 FIRMWARE : 70.9.D APCMODEL : KWD END APC : Sat Feb 02 11:48:59 NST 2013 for the network one not working I have TOWER2 /remote_tower:3551 ether 10 5 30 NO I have tried /remote_tower:3551 remote_tower:3551 network_tower:3551 /network_tower:3551 and lastly WORKGROUP_tower:3551 /WORKGROUP_tower:3551 (from /sbin/apcaccess status) Now I get this APC : 001,019,0486 DATE : Sat Feb 02 11:56:19 NST 2013 HOSTNAME : Tower2 RELEASE : 3.14.3 VERSION : 3.14.3 (20 January 2008) slackware UPSNAME : Tower2 CABLE : Ethernet Link MODEL : NETWORK UPS Driver UPSMODE : Net Slave STARTTIME: Sat Feb 02 11:56:18 NST 2013 STATUS : COMMLOST MBATTCHG : 10 Percent MINTIMEL : 5 Minutes MAXTIME : 30 Seconds NUMXFERS : 0 TONBATT : 0 seconds CUMONBATT: 0 seconds XOFFBATT : N/A STATFLAG : 0x07000100 Status Flag END APC : Sat Feb 02 11:56:26 NST 2013 syslog Feb 2 11:56:18 Tower2 apcupsd[23500]: apcupsd 3.14.3 (20 January 2008) slackware startup succeeded Feb 2 11:56:18 Tower2 apcupsd[23500]: NIS server startup succeeded Feb 2 11:56:19 Tower2 apcupsd[23500]: Communications with UPS lost. Any help would be great.
February 2, 201313 yr I am using APCUPSD on my second server as a slave. I have the primary server on a fixed IP address (assigned by the router), and using a manually specified IP address rather than the server name since the backup server was taking forever to see the primary. So in my case I specified 192.168.0.36:3551. I am running the plug-in version of APCUPSD, so both UPS cable and UPS type are set to network in the configuration menu on the slave.
February 2, 201313 yr Author I tried using towers ip which is 192.168.123.104 and dtill not working. Not sure what I am doing wrong. I am using the version installed in unmenu. apcupsd-3.14.3-i486-1kjz.tgz
February 2, 201313 yr Did you include the port :3551 ? I am not so familiar with the version set up from unMenu. I did use it one time, but only in master mode.
February 2, 201313 yr Author Well I removed everything and just left 192.168.123.104:3551 And it works!!!!!! So the correct settings are just 192.168.123.104:3551 or tower:3551 for the first line thanks for the help
Archived
This topic is now archived and is closed to further replies.