search for: upsnotify

Displaying 5 results from an estimated 5 matches for "upsnotify".

Did you mean: fsnotify
2016 Oct 06
2
NOTIFYCMD doesn't work at all... not fully
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='mail at domain.de' SMS1='+49123456789' SMS2='+491987654231' #eMail versenden echo -e "Die USV mit dem Namen '$UPSNAME' hat seinen Status ge?ndert!\n\nAktueller Status: '$NOT...
2024 Mar 08
1
NUT 2.8.1 (source build) Pi OS bookworm 32 bit - nut-monitor trying to connect to UPS - Connection Refused
...An HTML attachment was scrubbed... URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20240308/8535cf65/attachment.htm> -------------- next part -------------- Mar 08 07:48:59 WiringCloset usbhid-ups[6529]: Startup successful Mar 08 07:48:59 WiringCloset usbhid-ups[6529]: upsnotify: failed to notify about state 2: no notification tech defined, will not spam more about it Mar 08 07:49:00 WiringCloset dummy-ups[6531]: Startup successful Mar 08 07:49:00 WiringCloset dummy-ups[6531]: upsnotify: failed to notify about state 2: no notification tech defined, will not spam more about...
2024 Feb 19
1
Compile/Package / Config/Run 2.8.1 / Raspberry / UPS
...river (libusb 1.0) 0.46 Driver failed to start (exit status=1) journalctl -xe <<Results... x is the PID and I strripped before "usbhid-ups">> usbhid-ups[x]: No matching HID UPS found usbhid-ups[x]: [D5] send_to_all: SETINFO driver.state "cleanup.exit" usbhid-ups[x]: upsnotify: notify about state 4 with libsystemd: was requested, but not running as a service unit now, will not spam more about it usbhid-ups[x]: upsnotify: failed to notify about state 4: no notification tech defined, will not spam more about it [I then repeated from upsdrvsvcctl reconfigure but no differe...
2016 Oct 06
0
NOTIFYCMD doesn't work at all... not fully
> 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" user on many systems, including Debian. Check to see if $PATH is set the same,...
2009 Oct 24
1
Shutdown N-POWER MV-1000 LT UPS is not working
...r/local/ups # cat etc/upsd.conf LISTEN 127.0.0.1 LISTEN 192.168.0.10 srv:/usr/local/ups # --- srv:/usr/local/ups # cat etc/upsmon.conf # RUN_AS_USER ups MONITOR npower at localhost 1 admin karamba master MINSUPPLIES 1 SHUTDOWNCMD "/usr/local/ups/sbin/upsshut" NOTIFYCMD /usr/local/ups/bin/upsnotify POLLFREQ 5 POLLFREQALERT 5 HOSTSYNC 15 DEADTIME 15 POWERDOWNFLAG /etc/killpower NOTIFYFLAG ONLINE SYSLOG+EXEC NOTIFYFLAG ONBATT SYSLOG+EXEC NOTIFYFLAG LOWBATT SYSLOG+EXEC NOTIFYFLAG FSD SYSLOG+EXEC NOTIFYFLAG COMMOK SYSLOG+EXEC NOTIFYFLAG COMMBAD SYSLOG+EXEC NOTIFYFLAG SHUTDOWN SYSLOG+EXEC NOTIFY...