Charles, This is how I have the upsmon.conf set up. ?The only time I get a message is if the?NUT Monitor gui is running. ?I open LXterminal, pull the wall plug, and I get no messagesin the terminal. ?MONITOR Asium_p700 at localhost 1 upsmon jsamcr master?MINSUPPLIES 1?SHUTDOWNCMD "/sbin/shutdown -h +0"?NOTIFYCMD /sbin/upssched?POLLFREQ 5?POLLFREQALERT 5?HOSTSYNC 15?DEADTIME 15?POWERDOWNFLAG /etc/killpower # NOTIFYMSG - change messages sent by upsmon when certain events occur# You can change the default messages to something else if you like. ?NOTIFYMSG ONLINE "UPS 1 on line power"?NOTIFYMSG ONBATT? "UPS 1 on battery"?NOTIFYMSG LOWBATT? "UPS 1 battery is low"?NOTIFYMSG FSD "UPS 1: forced shutdown in progress"?NOTIFYMSG COMMOK? "Communications with UPS 1 established"?NOTIFYMSG COMMBAD? "Communications with UPS 1 lost"?NOTIFYMSG SHUTDOWN "Auto logout and shutdown proceeding"?NOTIFYMSG REPLBATT "UPS 1 battery needs to be replaced"?NOTIFYMSG NOCOMM "UPS 1 is unavailable"?NOTIFYMSG NOPARENT "upsmon parent process died - shutdown impossible" ?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?NOTIFYFLAG NOPARENT? SYSLOG+WALL ?RBWARNTIME 43200?NOCOMMWARNTIME 300 ?FINALDELAY 5?John "Science is organized common sense. Philosophy is organized piffle" -attributed to Bertrand Russel -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20150715/b33d1384/attachment-0001.html>
On Jul 14, 2015, at 8:10 PM, john hart <jsamcr at yahoo.com> wrote:> This is how I have the upsmon.conf set up. The only time I get a message is if the > NUT Monitor gui is running. I open LXterminal, pull the wall plug, and I get no messages > in the terminal.Hopefully someone else on the list can help with the NUT Monitor GUI part - I mostly run NUT on servers, so when I SSH in, the message shows up on that terminal. Does the wall command work on its own? Also, I assume that the upsmon binary is running, and if you changed upsmon.conf, you have restarted since that change. -- Charles Lepple clepple at gmail
Well, I would think that the NUT Monitor gui shouldn't have anything to do with the messages from'upsmon'. ? And I am also not seeing anything in the SYSLOG . ?I am sure that the upsmon binary isrunning as I tried to start it, from a terminal as su, and it says there is already an instance running. John?"Science is organized common sense. Philosophy is organized piffle" -attributed to Bertrand Russel From: Charles Lepple <clepple at gmail.com> To: john hart <jsamcr at yahoo.com> Cc: NUT Developers <nut-upsdev at lists.alioth.debian.org> Sent: Tuesday, July 14, 2015 6:22 PM Subject: Re: No messages On Jul 14, 2015, at 8:10 PM, john hart <jsamcr at yahoo.com> wrote:> This is how I have the upsmon.conf set up.? The only time I get a message is if the > NUT Monitor gui is running.? I open LXterminal, pull the wall plug, and I get no messages > in the terminal.Hopefully someone else on the list can help with the NUT Monitor GUI part - I mostly run NUT on servers, so when I SSH in, the message shows up on that terminal. Does the wall command work on its own? Also, I assume that the upsmon binary is running, and if you changed upsmon.conf, you have restarted since that change. -- Charles Lepple clepple at gmail -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20150715/c48e7fca/attachment.html>
I must retract my last statement. ?There are indeed entries in the syslog, but I don't know if it was when I had?the NUT Monitor gui running. ? I will experiment and let you know. John?"Science is organized common sense. Philosophy is organized piffle" -attributed to Bertrand Russel From: Charles Lepple <clepple at gmail.com> To: john hart <jsamcr at yahoo.com> Cc: NUT Developers <nut-upsdev at lists.alioth.debian.org> Sent: Tuesday, July 14, 2015 6:22 PM Subject: Re: No messages On Jul 14, 2015, at 8:10 PM, john hart <jsamcr at yahoo.com> wrote:> This is how I have the upsmon.conf set up.? The only time I get a message is if the > NUT Monitor gui is running.? I open LXterminal, pull the wall plug, and I get no messages > in the terminal.Hopefully someone else on the list can help with the NUT Monitor GUI part - I mostly run NUT on servers, so when I SSH in, the message shows up on that terminal. Does the wall command work on its own? Also, I assume that the upsmon binary is running, and if you changed upsmon.conf, you have restarted since that change. -- Charles Lepple clepple at gmail -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20150715/6abc7597/attachment-0001.html>