[Nut-upsuser] nut with 2 salicru ups

Arnaud Quette aquette.dev at gmail.com
Wed Jul 27 12:14:49 UTC 2011


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/09e6ab48/attachment.html>


More information about the Nut-upsuser mailing list