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.
On 11/29/06, Philip Ward <p.g.ward@stir.ac.uk> wrote:> If the core developers are interested in these changes where should I send > patches?This list is a good place to discuss patches (there is a 40 KB limit on posts, so it might be good to gzip them). If it is something that cannot be applied immediately, you can submit it to the patch tracker: http://alioth.debian.org/tracker/?atid=411544&group_id=30602&func=browse Can you describe the functionality differences of EXTMON? I believe that between the master/slave definitions and the NUMSUPPLIES variable, you could probably accomodate the SAN with configuration changes only, but I might be missing something critical. -- - Charles Lepple
> I'm new to the list, and would like to make a contribution to nut.Contributions are always welcome.> Nut does a superb job of monitoring the UPS(s) that power servers, but > your server may want to monitor other UPSs as well.This configuration is mentioned in the reference configurations in the documentation. Or at least, used to be mentioned (I can't check this right now).> 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.Like Charles already mentioned, where is this different from specifying MINSUPPLIES and the proper slaves for NUT like we have now? Regards, Arjen -- Eindhoven - The Netherlands Key fingerprint - 66 4E 03 2C 9D B5 CB 9B 7A FE 7E C1 EE 88 BC 57