Hello,

I fail to get UPS logs in syslog.

In /etc/nut/upsmon.conf, I have:

NOTIFYFLAG ONLINE    SYSLOG+WALL
NOTIFYFLAG ONBATT    SYSLOG+WALL
NOTIFYFLAG LOWBATT    SYSLOG+WALL
NOTIFYFLAG FSD    SYSLOG+WALL
NOTIFYFLAG COMMOK    SYSLOG+WALL
NOTIFYFLAG COMMBAD    SYSLOG+WALL
NOTIFYFLAG SHUTDOWN    SYSLOG+WALL
NOTIFYFLAG REPLBATT    SYSLOG+WALL
NOTIFYFLAG NOCOMM    SYSLOG+WALL

I am using nut 2.7.4-8 on a Raspberry Pi. This Pi is configured using the standalone mode, while another Pi is configured as netmonitor. The UPS device is an Eaton 3S 700.

It looks like Nut is working correctly, except that I have no logs. My understanding is that I need not specify a NOTIFYCMD if I just want to log to syslog: directly handled by SYSLOG keyword.

Thanks,

Axelle.


_______________________________________________
Nut-upsuser mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to