<div dir="ltr"><div>I only pasted a subset of my upsmon.conf. NOTIFYCMD is in my upsmon.conf</div><div><br></div><div>AFA nutmon user. I was trying different things I had the directory as nutmon nut but changed it to nutmon nutmon to see if that worked. It didn't make a difference.</div><div><br></div><div>Sorry about the digest this. I needed to hit a line in gmail web client to see the subject line. Know I know. Thanks for the heads up.. </div><div><br></div><div>[root@donner nut]# grep ^[^#] upsmon.conf<br>RUN_AS_USER nutmon<br>MONITOR deltec-PRA1500@localhost 1 nutmon zaq12wsx master<br>MINSUPPLIES 1<br>SHUTDOWNCMD "/sbin/shutdown -h +0"<br>NOTIFYCMD /sbin/upssched<br>POLLFREQ 5<br>POLLFREQALERT 5<br>HOSTSYNC 15<br>DEADTIME 15<br>POWERDOWNFLAG /etc/killpower<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 27, 2020 at 8:32 AM Greg Treantos <<a href="mailto:gtreanto@gmail.com">gtreanto@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Here are my permissions and user info. Let me know if there is anything else I should check</div><div><br></div><div>pi@nutpi:~ $ ls -alt /etc/nut<br>total 56<br>drwxr-xr-x 87 root root 4096 Jan 26 15:22 ..<br>drwxr-xr-x 2 root nut 4096 Jan 26 13:53 .<br>-rw-r----- 1 root nut 4719 Jan 26 13:15 upssched.conf<br>-rw-r----- 1 root nut 15347 Jan 26 11:25 upsmon.conf<br>-rw-r----- 1 root nut 1543 Jan 26 10:02 nut.conf<br>-rw-r----- 1 root nut 2191 Jan 26 09:40 upsd.users<br>-rw-r----- 1 root nut 4601 Jan 26 09:38 upsd.conf<br>-rw-r----- 1 root nut 5646 Jan 26 09:32 ups.conf</div><div><br></div><div>the user I created for nut is nutmon. Here is the directory permissions for that user <br></div><div><br></div><div>pi@nutpi:~ $ sudo ls -alt /home/nutmon<br>total 32<br>-rw------- 1 nutmon nutmon 172 Jan 26 12:32 .bash_history<br>drwxrwx--- 2 nutmon nutmon 4096 Jan 26 12:32 upssched<br>drwxrwx--- 4 nutmon nutmon 4096 Jan 26 11:11 .<br>drwx------ 3 nutmon nutmon 4096 Jan 26 11:10 .gnupg<br>drwxr-xr-x 4 root root 4096 Jan 26 09:05 ..<br>-rwxrwx--- 1 nutmon nutmon 3523 Sep 25 20:09 .bashrc<br>-rwxrwx--- 1 nutmon nutmon 220 Apr 18 2019 .bash_logout<br>-rwxrwx--- 1 nutmon nutmon 807 Apr 18 2019 .profile</div><div><br></div><div>root@nutpi:/etc/nut# grep ^[^#] upsd.users<br>[nutmon]<br> password = <userpwd><br> upsmon master</div><div><br></div><div>root@nutpi:/etc/nut# grep ^[^#] upsmon.conf <br>RUN_AS_USER nutmon<br>MONITOR deltec-PRA1500@localhost 1 nutmon <userpwd> master</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 27, 2020 at 7:00 AM <<a href="mailto:nut-upsuser-request@alioth-lists.debian.net" target="_blank">nut-upsuser-request@alioth-lists.debian.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send Nut-upsuser mailing list submissions to<br>
<a href="mailto:nut-upsuser@alioth-lists.debian.net" target="_blank">nut-upsuser@alioth-lists.debian.net</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" rel="noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:nut-upsuser-request@alioth-lists.debian.net" target="_blank">nut-upsuser-request@alioth-lists.debian.net</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:nut-upsuser-owner@alioth-lists.debian.net" target="_blank">nut-upsuser-owner@alioth-lists.debian.net</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Nut-upsuser digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: Timer doesn't appear to start (Roger Price)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 27 Jan 2020 12:13:20 +0100 (CET)<br>
From: Roger Price <<a href="mailto:roger@rogerprice.org" target="_blank">roger@rogerprice.org</a>><br>
To: nut-upsuser Mailing List <<a href="mailto:nut-upsuser@lists.alioth.debian.org" target="_blank">nut-upsuser@lists.alioth.debian.org</a>><br>
Subject: Re: [Nut-upsuser] Timer doesn't appear to start<br>
Message-ID: <alpine.LSU.2.20.2001271207120.5507@titan><br>
Content-Type: text/plain; charset="iso-8859-15"; Format="flowed"<br>
<br>
On Mon, 27 Jan 2020, Greg Treantos wrote:<br>
<br>
> Roger, here is my output of ps -elf |grep upssched<br>
> <br>
> root@nutpi:~# ps -elf |grep upssched<br>
> 0 S root 1242 1191 0 80 0 - 1834 pipe_w 05:23 pts/0 00:00:00 grep upssched<br>
> <br>
> No timer, just the grep of upssched.. <br>
<br>
So upssched doesn't start. Is this an ownership/permissions problem?<br>
<br>
Roger<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
Nut-upsuser mailing list<br>
<a href="mailto:Nut-upsuser@alioth-lists.debian.net" target="_blank">Nut-upsuser@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" rel="noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a><br>
<br>
------------------------------<br>
<br>
End of Nut-upsuser Digest, Vol 175, Issue 32<br>
********************************************<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr">Greg<br><br><a href="http://www.linkedin.com/in/gregtreantos" target="_blank">http://www.linkedin.com/in/gregtreantos</a></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Greg<br><br><a href="http://www.linkedin.com/in/gregtreantos" target="_blank">http://www.linkedin.com/in/gregtreantos</a></div></div>