[Nut-upsdev] NUT-NG (was: ideas for a new UPS infrastructure)

Niklas Edmundsson nikke at acc.umu.se
Wed Mar 15 09:44:22 UTC 2006


On Fri, 10 Mar 2006, Arnaud Quette wrote:

>> Proposal for NUT:
>>
>> udev provides info about autodetectable UPSes and HAL starts enhanced
>> hald-addon-hid-ups (which will contain all features of hidups)
>>
>> upsdrvctl-hald-addon reads configuration and starts not detectable
>> drivers for current UPS and provides HAL device
>>
>> upsd-network-hald-addon listens to network UPSes and provides HAL device
>>
>> upsmon listens to D-BUS and provides interface for grafical old
>> fashioned NUT clients

As long as it's not breaking stuff that works (ie. support for 
non-latestandgreatestlinuxthingie) I don't see any problems.

However, if generic NUT stuff starts to depend on HAL and whatever I'd 
say that we've kissed portability goodbye. Ie, I want to be able to 
speak to SNMP/serial port-equipped upsen using an AIX box in the 
future too.

The above suggestion sounds like a typical "let's solve this the 
non-portable way because my linux-thingie looks nice". People have 
complained a lot about vendors locking applications in hard-to-port 
API:s (Windows for example), this seems to be exactly the same thing.

If NUT wants to prove itself as THE ups monitoring solution we'll have 
to look beyond the desktop. Ie, don't break the good current design. 
Add helpers for desktop-thingies if needed.


/Nikke - who believes in portable code, not stuff locked into a
          specific environment a la Windows.
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  Niklas Edmundsson, Admin @ {acc,hpc2n}.umu.se      |     nikke at acc.umu.se
---------------------------------------------------------------------------
  Now go away or I shall taunt you a second time.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



More information about the Nut-upsdev mailing list