FORMER 03 | Baltasar Cevc
2007-Jun-07 15:22 UTC
[Nut-upsuser] Multiple USVs (how to identify each one)
Hi everybody, we have three MGE UPS'. I've read all the documents I've found, but I haven't got the information I need. All three of them being attached to the same machine I need a way to identify which is wich (all three use the same driver). They power different systems (two of them running windows so that I can't easily setup a network-enabled software on two of them, as I've only seen a NUT client for MS Windows). Do you have any hints? Any document pointer or answer is appreciated. Thanx, Baltasar -- Baltasar Cevc _____ FORMER 03 GmbH _____ infanteriestra?e 19 haus 6 eg _____ D-80797 muenchen _____ http://www.former03.de
On 6/7/07, FORMER 03 | Baltasar Cevc <baltasar.cevc at former03.de> wrote:> we have three MGE UPS'. I've read all the documents I've found, but > I haven't got the information I need. > All three of them being attached to the same machine I need a way to > identify which is wich (all three use the same driver). They power > different systems (two of them running windows so that I can't easily > setup a network-enabled software on two of them, as I've only seen > a NUT client for MS Windows).I'm a bit confused by your description, so here is how I understand your setup: all three UPSes are attached to the same machine, so I am assuming that you have all three USB cables coming to one machine running nut. Then there are three distinct machines, each plugged into one UPS, right? If so, then just configure nut for all three UPSes, and then each UPS from the wall at a time. The notifications than nut receives will let you identify each UPS. ~David
Arjen de Korte
2007-Jun-07 18:19 UTC
[Nut-upsuser] Multiple USVs (how to identify each one)
FORMER 03 | Baltasar Cevc wrote:> we have three MGE UPS'. I've read all the documents I've found, but > I haven't got the information I need. > All three of them being attached to the same machine I need a way to > identify which is wich (all three use the same driver). They power > different systems (two of them running windows so that I can't easily > setup a network-enabled software on two of them, as I've only seen > a NUT client for MS Windows). > > Do you have any hints? Any document pointer or answer is appreciated.Assuming that these UPSes are connected through USB and you're using the 'newhidups' driver (or the 'usbhid-ups' driver, if you're running the development version), 'man 8 newhidups' is what you need to read carefully: vendor=regex product=regex serial=regex vendorid=regex productid=regex Probably the only difference between these units (if they are all the models) is the serial number. Running the driver in debug mode (with -DD on the commandline) will help to find the serial number. Connect one UPS at a time, so that you're able to unambiguously determine which one has which serial number. Best regards, Arjen