[Nut-upsuser] Best practice to shutdown hosts which has not NUT via upssched

2016-07-13 Thread Dmitri Stepanov
Hi    I need to shutdown a number of hosts which has not NUT from one which has it.    I tried to do it from upssched script (after upssched's timer) like this: case $1 in     earlyshutdown)     logger -t upssched-cmd "Early shutdown is started"     /bin/sh

Re: [Nut-upsuser] Windows Version not working --

2016-07-13 Thread Charles Lepple
[please use Reply-All to include the list. thanks!] On Jul 13, 2016, at 10:19 PM, Jeff Silberberg wrote: > > Never could get it give me a snap shot of the UPS, just unknown communication > error -- > Hopefully one of the Windows experts can chime in, but in the mean

Re: [Nut-upsuser] FSD sequence not working on Ubuntu 16.04 LTS

2016-07-13 Thread Charles Lepple
[please use Reply-All to include the list. thanks!] On Jul 12, 2016, at 5:27 PM, Ivan Adzhubey wrote: > > I have recently installed NUT 2.7.3.1 on a freshly installed Ubuntu 16.04 LTS > (64-bit) system, connected via USB cable to APC Smart-UPS 1500 (SMT model).

[Nut-upsuser] Windows Version not working --

2016-07-13 Thread Jeff Silberberg
Good evening, Hoping someone can point me in the right direction.. I downloaded and installed the 2.6.5-6 Windows MSI and it installed fine, although I nee to also get a libusb0.dll. Connected USB to a Triplite, I could go to the Devices and Printers and see the USB installed. But

Re: [Nut-upsuser] Best practice to shutdown hosts which has not NUT via upssched

2016-07-13 Thread Roger Price
On Wed, 13 Jul 2016, Dmitri Stepanov wrote: Hi    I need to shutdown a number of hosts which has not NUT from one which has it.    I tried to do it from upssched script (after upssched's timer) like this: case $1 in     earlyshutdown)     logger -t upssched-cmd "Early

Re: [Nut-upsuser] Best practice to shutdown hosts which has not NUT via upssched

2016-07-13 Thread Dmitri Stepanov
Thank you for answer Roger >Среда, 13 июля 2016, 11:49 +03:00 от Roger Price : > >On Wed, 13 Jul 2016, Dmitri Stepanov wrote: > >> Hi >> >>    I need to shutdown a number of hosts which has not NUT from one which has >> it. >> >>    I tried to do it from upssched script

Re: [Nut-upsuser] Best practice to shutdown hosts which has not NUT via upssched

2016-07-13 Thread Roger Price
On Wed, 13 Jul 2016, Dmitri Stepanov wrote:    shutdown-all-hosts.sh contains: # Linux hosts HOSTLIST="sim iogate br" for host in $HOSTLIST do ... ssh $host halt -p ... done    shutdown-all-hosts.sh works fine if it runned manually.    But it does not work even if I insert sleep 30 sec

Re: [Nut-upsuser] Best practice to shutdown hosts which has not NUT via upssched

2016-07-13 Thread Stuart Gathman
On 07/13/2016 10:02 AM, Stuart Gathman wrote: > On 07/13/2016 04:17 AM, Dmitri Stepanov wrote: >>I need to shutdown a number of hosts which has not NUT from one which has >> it. > Let's make sure you are not missing an obvious point. By "has not NUT", > you might mean not running upsd. The

Re: [Nut-upsuser] Best practice to shutdown hosts which has not NUT via upssched

2016-07-13 Thread Stuart Gathman
On 07/13/2016 04:17 AM, Dmitri Stepanov wrote: >I need to shutdown a number of hosts which has not NUT from one which has > it. Let's make sure you are not missing an obvious point. By "has not NUT", you might mean not running upsd. The best practice is to run upsmon on the other hosts.