[Nut-upsdev] Patch for addition of Cyberpower RMCARD100, 201, 202, 301 (snmp mib)

Arnaud Quette aquette.dev at gmail.com
Thu Dec 1 22:38:40 UTC 2011


Hi Eric,

2011/11/30 Eric Schultz <eric.schultz at cyvon.com>:
> I did a bunch of work on this today. It should be all set to go.
>
> This patch is to add support for the Cyberpower RMCARD snmp cards.
> I basically copied the driver for bestpower, changed the name and
> updated the mib map.
> I have this running on two separate systems (two separate ups's) and it
> looks good.
>
> The only thing I could not figure out was updating the Makefile.am (my
> aclocal/libtools seem to be broken.) So I manually updated the
> Makefile.in to get it compiled. Someone with a build environment that
> works better than mine should be able to easily update the Makefile.am
> (I think there are just 2 or 3 entries... just find bestpower and add a
> cyberpower entry matching bestpower.)
>
> Attached are two patches:
> cyberpower-mib.patch
>    - includes cyberpower-mib driver
>    - updated snmp-ups man page
>    - updated hcl
>
> cyberpower-mib.makefile.patch
>    - my little hacking to drivers/Makefile.in ... used just so I could
> build it... only included for completness sake.
>
> Any chances of this getting integrated into main? I tried to keep it
> simple and tested.

sure, but after one tiny completion:
I will need the sysOID value (Ie snmpget ... .1.3.6.1.2.1.1.2.0)

I'll do some cleanup and make integration on my side.
Thanks for your contribution.

cheers,
Arnaud
-- 
Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://www.debian.org
Free Software Developer - http://arnaud.quette.free.fr/



More information about the Nut-upsdev mailing list