[Nut-upsuser] nut with 2 salicru ups

Arnaud Quette aquette.dev at gmail.com
Wed Jul 27 12:54:15 UTC 2011


Hola Sebastián,

first, please keep the NUT list cc'ed!

2011/7/27 Sebastián León del Moral <urticaries at gmail.com>

> Hi Arnaud
>
> The problem is that the tow ups have the same serial number, vendor, and
> product...
>
> I don´t know i do now
>

clean solution: buy well designed devices. More expensive, but buying Eaton,
for example, means also supporting NUT developments!

quick and dirty solution: consider putting each unit on a separate USB bus
(as show by lsusb).
then use "bus = X" instead of serial (in my previous example) in ups.conf.

Once more, the USB drivers manpages will provide you with more details.

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/



> El 27/07/2011, a las 14:14, Arnaud Quette escribió:
>
>
> 2011/7/27 Petr Kubánek <petr at kubanek.net>
>
>> Hola,
>>
>> you will probably need to create two different device entries, using
>> udev rules. See
>>
>> http://rts2.org/wiki/doku.php?id=howto:set_symlinks_for_usb_serial_ports
>>
>> for details (this is on USB, but should be similar for UPS..you need to
>> find something which uniquely identified them - e.g. serial number).
>>
>> I believe that adding two entries with different name and port to
>> ups.conf will deliver what you need.
>>
>
> and the discriminant, as you well noted above: either id, serial, bus, ...
> example (with usbhid-ups):
>
> [ups1]
>     driver = usbhid-ups
>     port = auto
>     serial = XXYY
> [ups2]
>     driver = usbhid-ups
>     port = auto
>     serial = XXZZ
>
> take a look at the manpage of your driver for more information.
> Feedback on working units that are not listed in the HCL (
> http://www.networkupstools.org/stable-hcl.html) is also welcome.
>
> 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/
>
>  Petr
>>
>> Sebastián León del Moral píše v St 27. 07. 2011 v 11:25 +0200:
>> > Hi, my name is Sebastián from Spain
>> >
>> > I need help for that. I have 2 salicru ups I need monitor with a fedora
>> > 14 pc. Someone knows if i can configure ups.conf to monitor one or
>> > another ups? only make a upsc "ups" for take data. The upses are
>> > connected via usb and nut always read the first one connected. The
>> > upses are the same model.
>> >
>> > Thanks for all!
>> >
>> > Sebastián León del Moral
>> > urticaries at gmail.com
>> >
>> >
>> > _______________________________________________
>> > Nut-upsuser mailing list
>> > Nut-upsuser at lists.alioth.debian.org
>> > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser
>>
>>
>>
>> _______________________________________________
>> Nut-upsuser mailing list
>> Nut-upsuser at lists.alioth.debian.org
>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser
>>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20110727/667370fb/attachment.html>


More information about the Nut-upsuser mailing list