[Nut-upsdev] [Fusioninventory-devel] Adding power devices support to Fusion Inventory

Arnaud Quette aquette.dev at gmail.com
Thu Nov 17 22:20:03 UTC 2011


Hi Gonéri,

2011/11/17 Gonéri Le Bouder <goneri at rulezlan.org>:
> On Thu, Nov 17, 2011 at 09:20:15PM +0100, Arnaud Quette wrote:
>> Hi,
>
> Hello all,
>
> I'm interest to start the integration on the agent side (local inventory).
> There no UPS here. Is there a way to emulate it?

sure.
I've attached an updated (and not yet published) version of the NUT
simulation info.
You will find everything you need to simulate as many UPS, PDU, (...) you want.
Since manpages links are broken, also use the online version:
http://www.networkupstools.org/docs/man/index.html

> We provide tarball of Perl, FusionInventoy-Agent and the dependencies
> to simplify the inventory of the machine. Basicly, the sysadmin, has
> just to extract and run the agent.
> This is very useul when a decent Perl is not available and there is no
> compiler (for example, an ancient Solaris or HP-UX)
>  http://prebuilt.fusioninventory.org
> Is it possible to prepare a minimalist nut distribution just for
> local inventory and embed it with the agent? Does nut have a lot of
> external dependency itself?

NUT is included in small footprint appliances (10 Mb) such as Opengear
devices, so this should not be an issue.
A full (Ie including the world) distribution on Linux weights ~4 Mb
But you will be able to cut it down to 2Mb or even more... at least on Linux.
- 350 Kb for (5) USB drivers
- 94 Kb for snmp-ups
- 54 Kb for nut-ipmipsu
- 43 Kb simulation driver
- 200 Kb lib (nut client and scan)
- 14 kb nut-scanner binary
- 26 Kb for Nut.pm
- 51 Kb for upsd, but you can also directly talk to drivers and remove
upsd (ex: if you just want to launch drivers from time to time, to
update data...)
- ...

NUT depends on libc/equiv + libusb + libsnmp (Net SNMP) for your requirements.
For other options (SSL, IPMI, ...) requirements, check this chapter
and the following:
http://www.networkupstools.org/docs/user-manual.chunked/aphs01.html

> Is it possible to use nut on Windows?

sure, NUT now runs on all OSs, including Windows (not yet as complete
/ mature as Unix versions), Linux*, OS X, BSD*, HP-UX, Aix, Solaris,
Qnx, ...

Windows and other packages are available:
http://www.networkupstools.org/download.html#_binary_packages

cheers,
Arnaud
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20111117/cac66f9c/attachment-0001.html>


More information about the Nut-upsdev mailing list