Displaying 6 results from an estimated 6 matches for "earlyshutdown".
2016 Jul 12
3
Best practice to shutdown hosts which has not NUT via upssched
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 /usr/local/sbin/shutdown-all-hosts.sh
??????????????? /usr/local/sbin/upsmon -c fsd
??????????????? ;;
esac
?? shutdown-all-hosts.sh contains:
# Linux hosts
HOSTLIST="sim iogate br"
for...
2016 Jul 13
2
Best practice to shutdown hosts which has not NUT via upssched
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 shutdown is started"
> ??????????????? /bin/sh /usr/local/sbin/shutdown-all-hosts.sh
> ??????????????? /usr/local/sbin/upsmon -c fsd
> ??????????????? ;;
> esac
>
> ?? shutdown-all-hosts.sh contains:
> # Linux hosts...
2018 Jun 19
2
upsmon Can not initialize SSL context (letsencrypt) #563
...G SHUTDOWN SYSLOG+EXEC
NOTIFYFLAG REPLBATT SYSLOG+EXEC
NOTIFYFLAG NOCOMM SYSLOG+EXEC
/etc/nut/upssched.conf
LOCKFN /var/lib/nut/upssched.lock
PIPEFN /var/lib/nut/upssched.pipe
CMDSCRIPT /bin/upssched-cmd
AT ONBATT * START-TIMER onbatt1 13
AT ONLINE * CANCEL-TIMER onbatt1
#AT ONBATT * START-TIMER earlyshutdown 30
#AT ONLINE * CANCEL-TIMER earlyshutdown
AT ONBATT * START-TIMER onbattwarn 30
AT ONLINE * CANCEL-TIMER onbattwarn
when doing:
/etc/init.d/ups-monitor restart && tail -f /var/log/syslog
output:
[ ok ] Restarting ups-monitor (via systemctl): ups-monitor.service.
Jun 19 16:34:54 REDACTED...
2016 Jul 13
0
Best practice to shutdown hosts which has not NUT via upssched
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 /usr/local/sbin/shutdown-all-hosts.sh
??????????????? /usr/local/sbin/upsmon -c fsd
??????????????? ;;
esac
?? shutdown-all-hosts.sh contains:
# Linux hosts
HOSTLIST="sim iogate br"
for...
2016 Jul 13
0
Best practice to shutdown hosts which has not NUT via upssched
...d, 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 shutdown is started"
>> ??????????????? /bin/sh /usr/local/sbin/shutdown-all-hosts.sh
>> ??????????????? /usr/local/sbin/upsmon -c fsd
>> ??????????????? ;;
>> esac
>>
>> ?? shutdown-all-hosts.sh c...
2011 Jul 17
2
POWEREX VI 1000 LED
Hi Sergey,
2011/7/15 Sergey Talchuk <tals1975 at gmail.com>
> Hi Arnaud,
>
> both configurations are ok :). Please find the file attached.
>
logic since the 2nd is automatically guessed from the first using USB Vendor
and Product ID ;-)
can you please send in upsc, upscmd and upsrw output.
and also report the shutdown testing as described here: