Can someone compile this this for me? APCUPSD Mod.


Recommended Posts

Hello Everyone.

 

I bought an APC UPS here in Brazil, tried to make it work with the default APCUPSD from Unraid (v6) without Success.

 

Googled it a lot and discovered that under the APC hood I have an Microsol UPS, that's not compatible with the APC Daemon or the NUT Project!  :'(

 

Found a project that modded the default APCUPSD to work with my UPS, but I can't compile it with Unraid.

 

Can anyone help me with this?

 

I'm hoping that with the binary files I can replace the default daemons with the new one with the driver for my UPS and then I can manage it with Unraid.

 

Project site: https://sourceforge.net/projects/apcupsd-brazil/?source=typ_redirect

Source Download: https://sourceforge.net/projects/apcupsd-brazil/files/apcupsd_brazil-0.5.5.tar.gz/download

 

Thanks a lot!  8)

Link to comment

Hopefully, someone will respond with help, but I think it might be quicker to take it back, get a true APC that's fully APC compatible.  This smacks of fraud to me.  I would think they would agree to take it back as it does not meet your requirements of a true APC (whatever it may say on the fraudulent label).

Link to comment

Yeah, I have considered that option.

 

But here in Brazil we don't have too much options of (good) UPS of 800 - 1400va with management interface in this price range.

 

I found a TS-Shara 1400 and aparently the Network UPS Tools has limited support for these models too.  :-\

I don't need anything too complex or expensive, just need to shutdown my Unraid Server in power faults in keep my disks safe.

 

Sent an e-mail to the APCUPSD team hoping that they incorporate the "APC" (Microsol) Drivers on the daemon.

 

Thanks

 

 

Hopefully, someone will respond with help, but I think it might be quicker to take it back, get a true APC that's fully APC compatible.  This smacks of fraud to me.  I would think they would agree to take it back as it does not meet your requirements of a true APC (whatever it may say on the fraudulent label).

Link to comment
  • 1 month later...

I compiled it, but zero clue if it's what you need or will help. Was built against Slackware Current, which I think is what 6.2 is based on.

 

./configure --prefix=/usr

Configuration on Mon Aug  1 20:38:13 EDT 2016:

  Host:                       i686-pc-linux-gnu -- slackware Slackware 14.2
  Apcupsd version:            0.7.5 (13 June 2016)
  Source code location:       .
  Install binaries:           /sbin
  Install config files:       /etc/apcupsd
  Install man files:          ${prefix}/share/man
  Nologin file in:            /etc
  PID directory:              /var/run
  LOG dir (events, status)    /var/log
  LOCK dir (for serial port)  /var/lock
  Power Fail dir              /etc/apcupsd
  Compiler:                   g++ 5.3.0
  Preprocessor flags:          -I/usr/local/include
  Compiler flags:             -g -O2 -fno-exceptions -fno-rtti -Wall
  Linker:                     gcc
  Linker flags:                -L/usr/local/lib
  Host and version:           slackware Slackware 14.2
  Shutdown Program:           /sbin/shutdown
  Port/Device:                /dev/ttyS0
  Network Info Port (CGI):    3551
  UPSTYPE                     brazil
  UPSCABLE                    simple

  drivers (no-* are disabled): apcsmart dumb net no-usb snmp no-net-snmp pcnet modbus no-modbus-usb no-test brazil

  enable-nis:                 yes
  with-nisip:                 0.0.0.0
  enable-cgi:                 no
  with-cgi-bin:               /etc/apcupsd
  with-libwrap:
  enable-pthreads:            yes
  enable-dist-install:        yes
  enable-gapcmon:             no
  enable-apcagent:            no

 

 

https://dl.dropboxusercontent.com/u/572553/apcctrl-0.7.5-x86_64-1rj.txz

 

Send me a PM if you need to get in touch as I rarely check the forum these days.

 

 

Regards,

overbyrn

 

Link to comment
  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.