[Nut-upsuser] Fry's Electronics UPS...

2015-04-23 Thread James Hammond
Hello, I am trying to get a no-brand (LMS DATA, model no LMSP1200RI) UPS to work with NUT. I now realise I should have checked compatibility with NUT before purchase. My other UPS (APC) works perfectly. Anyway, I have spent a good day trying to get this thing working. #lsusb Bus 001 Device

Re: [Nut-upsuser] Fry's Electronics UPS...

2015-04-24 Thread James Hammond
2015 22:54:17 -0400 CC: nut-upsuser@lists.alioth.debian.org To: james_r_hamm...@hotmail.com On Apr 23, 2015, at 1:16 PM, James Hammond james_r_hamm...@hotmail.com wrote: I am running Ubuntu 14.04 and using NUT version 2.73 installed from apt-get package. Hmm, the version below says

Re: [Nut-upsuser] upssched setup

2015-04-27 Thread James Hammond
been chmod to 777 with no difference. Cheers, James Date: Mon, 27 Apr 2015 16:04:34 +0200 From: ro...@rogerprice.org To: nut-upsuser@lists.alioth.debian.org Subject: Re: [Nut-upsuser] upssched setup On Mon, 27 Apr 2015, James Hammond wrote: Roger, I did and it didnt work. Aha!, what does

Re: [Nut-upsuser] upssched setup

2015-04-27 Thread James Hammond
that the script is executable by the user running NUT? Do you have SELinux enabled? Regards, Neil. On 27/04/15 20:55, James Hammond wrote: Hi Roger, I get: Apr 27 20:50:05 unifi upsmon[1022]: UPS ups on battery Apr 27 20:50:05 unifi upssched[2688]: Timer daemon started Apr 27 20:50:06

Re: [Nut-upsuser] upssched setup

2015-04-27 Thread James Hammond
-upsuser@lists.alioth.debian.org Subject: Re: [Nut-upsuser] upssched setup On Mon, 27 Apr 2015, James Hammond wrote: ... Not too sure where to start with assigning the correct permissions. If it is of any help, you will see a full list of the permissions and owners I use in Table 1 at http

[Nut-upsuser] upssched setup

2015-04-27 Thread James Hammond
Hi, I am unable to get upssched working correctly as my UPS calls low battery too late and there is no way to change it. I am running Nut 2.7.3 on Ubuntu 14.04 I have made this script, called /sbin/upssched-cmd.sh #!/bin/sh case $1 in onbatt) /sbin/upsmon -c fsd;; *) echo shutdown

Re: [Nut-upsuser] upssched setup

2015-04-27 Thread James Hammond
-upsuser] upssched setup On Mon, 27 Apr 2015, James Hammond wrote: I am unable to get upssched working correctly as my UPS calls low battery too late and there is no way to change it. I am running Nut 2.7.3 on Ubuntu 14.04 I have made this script, called /sbin/upssched-cmd.sh #!/bin/sh