I have an old binary tarball at:
http://us-east.manta.joyent.com/nahamu/public/smartos/smartos-opt-apcupsd.tar.gz
The contents must be unpacked to live at /opt/apcupsd.
I never got around to making an SMF manifest for the service part and I
had to run a command to get it see my UPS over USB:
update_drv -a -i '"usbif51d,class3"' ugen
(It's possible you need to run that at every boot. I reboot so
infrequently that I forget...)
Generally seems to work with my UPS:
[root@smartos ~]# /opt/apcupsd/sbin/apcupsd
[root@smartos ~]# /opt/apcupsd/sbin/apcaccess | egrep
'(VERSION|MODEL|CABLE|DRIVER|STATUS|TIMELEFT)'
VERSION : 3.14.10 (13 September 2011) sun
CABLE : USB Cable
DRIVER : USB UPS Driver
MODEL : Back-UPS RS 1500G
STATUS : ONLINE
TIMELEFT : 73.7 Minutes
Probably suitable for home use but for production you probably want to
figure out how to build it yourself...
-Nahum
On 04/24/2015 09:48 PM, Greg Zartman wrote:
I'm curious if anyone has apcupsd working on SmartOS? I'd like to
see if there's a compiled version floating around out there.
Thanks,
--
Greg J. Zartman
*smartos-discuss* | Archives
<https://www.listbox.com/member/archive/184463/=now>
<https://www.listbox.com/member/archive/rss/184463/22280019-340ab187>
| Modify
<https://www.listbox.com/member/?&>
Your Subscription [Powered by Listbox] <http://www.listbox.com>
-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription:
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com