I have started making progress, but still have problems.
i discovered that the "blazer_usb" appeared to work and after starting the UPS service everything seemed fine for a while. I got messages saying the ups was online and if i unplugged the ups i got a message saying on battery. Plug the power back in and i get the online message. I even managed to test a power down successfully.
The trouble is after about 5 minutes i get the following messages
"freenas upsmon[15941]: Poll UPS [cleanline] failed - Driver not connected"
these are repeating every 5 secs.
I followed another thread on this topic, which suggested the usb cable might be faulty. I have now tried three separate cables. When I reconnected a cable i got this error
"Can't connect to UPS [cleanline] (blazer_usb-cleanline): No such file or directory"
cleanline is the make of UPS and the name I assigned to the ups service.
This looks like it could be a permission problem, but I don't know what file or directory it is talking about. I have set the user in the ups service to be root, to try and avoid permission problems.
I am not quite sure what to try next. I am prepared to go and buy a another UPS if necessary (APC this time), but I don't want to spend more money and find I still have similar problem.
I need to get this fixed in the next week as I will be leaving the server running on its own for over a month and I want to make sure it will power down gracefully when there are power cuts.
Any suggestions will be gratefully received