[Nut-upsuser] NOTIFYCMD not running

Roger Price roger at rogerprice.org
Tue Feb 11 11:55:52 GMT 2020


On Tue, 11 Feb 2020, Max Pierson-Liénard wrote:

> The problem I am experiencing is that NOTIFYCMD never runs.  I can connect to 
> the device via upsc, and I receive WALL messages when I connect and disconnect 
> the power.  I have the following in upsmon.conf:
> 
> MONITOR ROUTERUPS at localhost 1 upsmon <mypassword> master
> NOTIFYCMD /home/pi/Documents/scripts/ups-log.py
> NOTIFYFLAG ONLINE       SYSLOG+WALL+EXEC
> NOTIFYFLAG ONBATT       SYSLOG+WALL+EXEC
> ... 
> I am able to run that command,  
> /home/pi/Documents/scripts/ups-log.py "some text"
> without any issues, and it doesn't require root privileges.  The owner is nut 
> and the permissions are 755:

When you run that command, does "some text" appear in the system log?

Roger


More information about the Nut-upsuser mailing list