Re: [OmniOS-discuss] usb hid ups monitoring

2014-06-03 Thread Paul B. Henson
From: Georgi Todorov Sent: Monday, June 02, 2014 7:52 PM Originally it was OI, then OmniOS until about 3 days ago. I compiled nut myself, yes, but libusb is a major PITA. Basically you have to find the libusb packages from the latest opensolaris and install them. Then there were problems

Re: [OmniOS-discuss] usb hid ups monitoring

2014-06-02 Thread Paul B. Henson
Yeah, I know; I've got a couple of those -- somewhere 8-/. Stupid apc sigh, another reason I'd prefer USB is to avoid having to track down where those magic cables ended up ;). On Jun 1, 2014, at 9:50 PM, Denis Cheong de...@denisandyuki.net wrote: Fair enough - bear in mind that the serial

Re: [OmniOS-discuss] usb hid ups monitoring

2014-06-02 Thread Olaf Marzocchi
I was actually going to suggest you to try the apcupsd software if you have problems with the other ones. And also, those serial cables are extremely simple, I made one with some loose wires held together with sticky tape and soldered to serial plugs. I cannot even call it cable. I am

Re: [OmniOS-discuss] usb hid ups monitoring

2014-06-02 Thread Denis Cheong
The principal benefit of ethernet is that you avoid all the driver / port issues (at the expense of, as Paul said, the risk that your switch goes down before the server / UPS and you lose connectivity - if it is not on the same UPS). USB support can be tricky in OmniOS - it obviously doesn't

Re: [OmniOS-discuss] usb hid ups monitoring

2014-06-02 Thread Georgi Todorov
I have a Cyber Power ups that I'm monitoring via USB and it works just fine. The tricky part is to use ugen omnios driver not hid. My device is 764,501.1 and this is what I did: # rem_drv ugen # add_drv -i 'usb764,501.1' -m '* 0666 ups ups' ugen Set the device to auto in your configuration

Re: [OmniOS-discuss] usb hid ups monitoring

2014-06-02 Thread Paul B. Henson
From: Denis Cheong Sent: Monday, June 02, 2014 2:40 AM these days very few motherboards come with RS232 onboard That is true of desktop hardware, but I think almost all server grade motherboards have at least one if not two classic serial ports available.

Re: [OmniOS-discuss] usb hid ups monitoring

2014-06-02 Thread Dan McDonald
On Jun 2, 2014, at 9:18 PM, Paul B. Henson hen...@acm.org wrote: From: Denis Cheong Sent: Monday, June 02, 2014 2:40 AM these days very few motherboards come with RS232 onboard That is true of desktop hardware, but I think almost all server grade motherboards have at least one if not

Re: [OmniOS-discuss] usb hid ups monitoring

2014-06-02 Thread Paul B. Henson
From: Georgi Todorov Sent: Monday, June 02, 2014 7:53 AM I have a Cyber Power ups that I'm monitoring via USB and it works just fine. To clarify, this is under OI, not omnios? Did you compile nut/libusb yourself, or did you use packages in the OI repository? The tricky part is to use ugen

[OmniOS-discuss] usb hid ups monitoring

2014-06-01 Thread Paul B. Henson
So I've got an older APC Smart-UPS 1500 which I'd like to monitor from omnios via usb. I plugged it into one of my linux boxes just to verify how it presented the usb interface, and NUT said: driver = usbhid-ups port = auto vendorid = 051D productid = 0002 product

Re: [OmniOS-discuss] usb hid ups monitoring

2014-06-01 Thread Denis Cheong
I am monitoring the exact same UPS on my OmniOS box, with NUT configured as per the old Oracle blog - however I have it connected through a network interface. If you have issues with connecting it via USB, I suggest you consider adding a network card which is likely to be much easier to get up

Re: [OmniOS-discuss] usb hid ups monitoring

2014-06-01 Thread Paul B. Henson
I actually do have a network management card in the unit, and was originally thinking of monitoring via the snmp driver :). However, the ups for the server is not the same ups as for the network gear, and at least for now the server ups has about twice the runtime as the network ups 8-/, so my

Re: [OmniOS-discuss] usb hid ups monitoring

2014-06-01 Thread Denis Cheong
Fair enough - bear in mind that the serial port on Smart UPSs require a special cable, they are not simple serial despite their appearance. On 2 June 2014 14:28, Paul B. Henson hen...@acm.org wrote: I actually do have a network management card in the unit, and was originally thinking of