Re: [Nut-upsuser] Help with Elite 800VA usb UPS

2017-06-11 Thread Daniele Pezzini
2017-06-11 14:10 GMT+02:00 Andrea de Lutti : > Soseems so better... > > Each time I rebbot, I miss the /var/run/nut folder... > > root@artu:~# upsdrvctl start > Network UPS Tools - UPS driver controller 2.7.2 > Network UPS Tools - Megatec/Q1 protocol USB driver 0.11 (2.7.2)

Re: [Nut-upsuser] Best way to shut down RH KVM/QEMU based VMs via NUT

2017-06-11 Thread Ben
On 06/11/2017 01:23 PM, julio valencia wrote: > > Stop emailing me > > You are on the nut-users mailing list. You need to unsubscribe if you want the list emails to stop. Cheers, -Ben ___ Nut-upsuser mailing list

Re: [Nut-upsuser] Best way to shut down RH KVM/QEMU based VMs via NUT

2017-06-11 Thread Larry Fahnoe
Thanks Ben & yes as you noted in your next message, I'm running linux guests. :-) While off-topic as far as NUT is concerned, for the sake of completeness and in case it may be of help to others, on RHEL/CentOS 7 there are two areas involved with guest shutdown/reboot vs suspend/resume: systemd

Re: [Nut-upsuser] Best way to shut down RH KVM/QEMU based VMs via NUT

2017-06-11 Thread Ben
On 06/11/2017 07:00 AM, Larry Fahnoe wrote: > Hi Ben, > > On RHEL/CentOS 7, libvirt-guests (which comes from libvirt-client) on the > host controls the suspend vs. shutdown behavior of the guests. By default > the guests suspend, but if you want them to shutdown, change the ON_SHUTDOWN >

Re: [Nut-upsuser] Best way to shut down RH KVM/QEMU based VMs via NUT

2017-06-11 Thread Ben
On 06/11/2017 07:00 AM, Larry Fahnoe wrote: > Hi Ben, > > On RHEL/CentOS 7, libvirt-guests (which comes from libvirt-client) on the > host controls the suspend vs. shutdown behavior of the guests. By default > the guests suspend, but if you want them to shutdown, change the ON_SHUTDOWN >

Re: [Nut-upsuser] Help with Elite 800VA usb UPS

2017-06-11 Thread Andrea de Lutti
Soseems so better... Each time I rebbot, I miss the /var/run/nut folder... root@artu:~# upsdrvctl start Network UPS Tools - UPS driver controller 2.7.2 Network UPS Tools - Megatec/Q1 protocol USB driver 0.11 (2.7.2) Can't chdir to /var/run/nut: No such file or directory Driver failed to

Re: [Nut-upsuser] Best way to shut down RH KVM/QEMU based VMs via NUT

2017-06-11 Thread Larry Fahnoe
Hi Ben, On RHEL/CentOS 7, libvirt-guests (which comes from libvirt-client) on the host controls the suspend vs. shutdown behavior of the guests. By default the guests suspend, but if you want them to shutdown, change the ON_SHUTDOWN setting in /etc/sysconfig/libvirt-guests. I don't have any

Re: [Nut-upsuser] Apple Mac slave

2017-06-11 Thread Robbie van der Walle
> If notify-send is available on the Mac, then perhaps this will work: It is not installed. > In upsmon.conf on the Mac you need > > NOTIFYCMD /usr/sbin/upssched(or wherever this goes on a Mac) > NOTIFYFLAG ONBATT SYSLOG+EXEC Mac /sw/etc/nut/upsmon.conf, I have FINK installed on Mac.

Re: [Nut-upsuser] Apple Mac slave

2017-06-11 Thread Robbie van der Walle
>> What I wonder if the shutdown is done proper. Does the shutdown command use >> umount to prevent disk corruption? > > Yes, it prevents filesystem corruption, but I am not sure if it bothers to > save the desktop state. > > You can check the "last" logs to see if it was cleanly shut down: >