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
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. 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
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>
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>