[Nut-upsuser] How to stop nut broadcast messages?

Justin Piszcz jpiszcz at lucidpixels.com
Mon Jul 16 18:22:07 UTC 2007



On Mon, 16 Jul 2007, Justin Piszcz wrote:

> When there is a power outage, I'd like to log to a file rather than
> broadcast to > 100 xterms.  Is there an option to tell nut NOT to
> broadcast everywhere?
>
> Justin.
>
> _______________________________________________
> Nut-upsuser mailing list
> Nut-upsuser at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
>

Nevermind:

        NOTIFYFLAG type flag[+flag][+flag]...

               By  default, upsmon sends walls global messages to all logged in
               users) via /bin/wall and writes to the syslog when  things  hap-
               pen.  You can change this.

               Examples:

                    NOTIFYFLAG ONLINE SYSLOG

                    NOTIFYFLAG ONBATT SYSLOG+WALL+EXEC

               Possible values for the flags:

                    SYSLOG - Write the message to the syslog

                    WALL - Write the message to all users with /bin/wall

                    EXEC - Execute NOTIFYCMD (see above) with the message

                    IGNORE - Don't do anything

               If you use IGNORE, don't use any other flags on the same line.





More information about the Nut-upsuser mailing list