Re: [Nut-upsuser] CP1500AVRLCD NOCOMM

2016-10-06 Thread Stuart Gathman
On 10/06/2016 07:26 PM, Lane Russell wrote: > ​​ > Syslog after server loses sight of UPS: > Oct 6 17:29:01 kvm usbhid-ups[3529]: libusb_get_string: error sending > control message: Broken pipe > Oct 6 17:30:53 kvm upsd[3533]: Data for UPS [ups] is stale - check driver > Oct 6 17:30:57 kvm

[Nut-upsuser] CP1500AVRLCD NOCOMM

2016-10-06 Thread Lane Russell
​​ Ubuntu Server 16.04.1 LTS NUT 2.7.2-4ubuntu1 NUT installed from apt CP1500AVRLCDa Complete problem description, with any relevant traces, like system log excerpts, and driver debug output. You can obtain the latter using the following command, as root and after having stopped NUT: Problem

Re: [Nut-upsuser] NOTIFYCMD doesn't work at all... not fully

2016-10-06 Thread Stefan Fröchtenicht
Hey Charles, HOLY MOLY! Thanks. Why i didn´t see that!? With your tip, i get the error mails: Can't open log file "/var/log/gammu-smsd" Failed to read config: Kann gewählte Datei nicht öffnen. So i give the user "nut" permission on gammu-smsd: sudo usermod -aG dialout nut sudo usermod

Re: [Nut-upsuser] NOTIFYCMD doesn't work at all... not fully

2016-10-06 Thread Charles Lepple
> On Oct 6, 2016, at 6:15 AM, Stefan Fröchtenicht wrote: > > when i execute the upsnotify.sh as root, then it works great. eMails and SMS > are incoming. > But when i for e.g. pull out the ups from power, then there will be only > emails and NO SMS. Why? > NUT runs the notify script as the

[Nut-upsuser] NOTIFYCMD doesn't work at all... not fully

2016-10-06 Thread Stefan Fröchtenicht
Hi there, i have a problem with the NOTIFYCMD in the upsmon.conf file. My line in the config looks like this: NOTIFYCMD "/etc/nut/upsnotify.sh" Now this ist my "/etc/nut/upsnotify.sh": #!/bin/bash EMAIL='m...@domain.de' SMS1='+49123456789' SMS2='+491987654231' #eMail versenden echo -e