[Nut-upsuser] NOTIFYCMD only works with upsmon -D ( in debug mode )

Roger Price roger at rogerprice.org
Wed Mar 2 10:47:05 GMT 2022


On Tue, 1 Mar 2022, Arno de Kok wrote:

> The NOTIFYCMD only works when I run upsmon -D.
> If I run upsmon normally then I get NOTIFY message’s:
> Broadcast message from nut at raspberrypi (somewhere) (Tue Mar  1 20:33:41 2022):
> UPS servers at localhost on battery
> 
> But only with upsmon -D I also get the ouput from the user defined script ( the yellow part is from the user defined script in NOTIFYCMD )

Nothing yellow for me, but I read my mail with Alpine.

> Broadcast message from nut at raspberrypi (pts/0) (Tue Mar  1 20:34:43 2022):
> UPS servers at localhost on battery
> Python, UPS on battery
> WARNING:root:Python UPS message!

Is this anomaly repeatable?

May we see your upsmon.conf? And maybe the Python script if it's not too big.

Roger


More information about the Nut-upsuser mailing list