[Nut-upsdev] External Devices

Philip Ward p.g.ward at stir.ac.uk
Wed Nov 29 17:39:33 CET 2006


Hi,

I'm new to the list, and would like to make a contribution to nut.
Nut does a superb job of monitoring the UPS(s) that power servers, but your 
server may want to monitor other UPSs as well. You may have a SAN attached 
disk array and want to monitor its UPS(s) in order to shutdown yourself 
before the disk dies and you lose data. There may be other devices as well 
that would cause you to want to shutdown before they lose power.
To this end I have added the EXTMON and EXTMINSUPPLIES directives to nut.

EXTMON <devicename> <ups> <power> <username> <password>
EXTMINSUPPLIES <devicename> <value>

This allows you to say which UPSs supply my disk array and how many supplies 
it needs.

I have successfully tested these changes both in nut (on Ubuntu Dapper) and in 
the WinNut client.

If the core developers are interested in these changes where should I send 
patches?

-- 
Philip Ward.
Unix Systems Administrator.
Ext 7274.

-- 
The University of Stirling is a university established in Scotland by
charter at Stirling, FK9 4LA.  Privileged/Confidential Information may
be contained in this message.  If you are not the addressee indicated
in this message (or responsible for delivery of the message to such
person), you may not disclose, copy or deliver this message to anyone
and any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful.  In such case, you should destroy this
message and kindly notify the sender by reply email.  Please advise
immediately if you or your employer do not consent to Internet email
for messages of this kind.




More information about the Nut-upsdev mailing list