apcaccess status 172.16.1.1:3551
zwraca tylko
APC : 001,012,0332
DATE : 2012-03-24 20:40:24 +0100
HOSTNAME : unknown
VERSION : 3.14.8 (16 January 2010) unknown
UPSNAME : Back-UPS CS 500
CABLE : USB Cable
MODEL : BackUPS
UPSMODE : Stand Alone
STARTTIME: 2012-03-24 20:40:24 +0100
LINEFAIL : OK
BATTSTAT : OK
STATFLAG : 0x07000000 Status Flag
END APC : 2012-03-24 20:57:19 +0100
czyli jak by działało a jednak nie :/
config
UPSNAME Back-UPS CS 500
UPSCABLE usb
UPSTYPE backups
DEVICE /dev/usb1
POLLTIME 60
LOCKFILE /opt/logi
SCRIPTDIR /opt/etc/apcupsd
PWRFAILDIR /opt/etc/apcupsd
NOLOGINDIR /opt/etc/apcupsd
ONBATTERYDELAY 6
BATTERYLEVEL 5
MINUTES 3
TIMEOUT 0
ANNOY 300
ANNOYDELAY 60
NOLOGON always
KILLDELAY 0
NETSERVER on
NISIP 172.16.1.1
NISPORT 3551
EVENTSFILE /opt/logi/apcupsd.events
EVENTSFILEMAX 10
UPSCLASS standalone
UPSMODE disable
STATTIME 0
STATFILE /opt/logi/apcupsd.status
LOGSTATS off
DATATIME 0
SENSITIVITY H
WAKEUP 60
SLEEP 20
BEEPSTATE N
SELFTEST 336
shibby takie cudo http://update.groov.pl/ups.png to Ty byś musiał wkompilować, czy można samemu to jakoś odpalić ?
Linksys WRT54GL + Tomato
TL WR1043ND + OpenWRT
Asus RT-N16 + Tomato
|