Displaying 20 results from an estimated 27 matches for "grostick".
2023 May 27
2
unable to connect to APC UPS Connection Refused
...ECUTE powerdown
AT FSD * EXECUTE fsd
AT NOPARENT * EXECUTE noparent
AT REPLBATT * EXECUTE replacebatt
########### /etc/nut/upssched-cmd.sh ###########
logger -t upsched-cmd.sh: "upsched-cmd.sh running"
case $1 in
online)
logger -t upssched: "online"
msmtp -t dan.grostick at outlook.com </etc/nut/online.txt
;;
onbatt)
logger -t upssched: "onbatt"
msmtp -t dan.grostick at outlook.com </etc/nut/onbatt.txt
;;
lowbatt)
logger -t upssched: "lowbatt"
msmtp -t dan.grostick at outlook.com </etc/nut/lobatt.txt
;;
commok)
logger -t upssche...
2023 Jun 10
1
Fopen upsmon.pid - no such file or directory - Nut 2.8.0 built from source
...Current status: $CHMSG $1"
cat /etc/nut/lowbatt.txt >/tmp/message
echo -e "$MSG1 $MSG2" >>/tmp/message
msmtp -t </tmp/message
/usr/sbin/upsmon -c fsd
;;
commok)
logger -t upssched-cmd: "commok"
msmtp -t dan.grostick at outlook.com </etc/nut/commok.txt
;;
commbad)
logger -t upssched-cmd: "commbad"
msmtp -t dan.grostick at outlook.com </etc/nut/commbad.txt
;;
shutdown)
logger -t upssched-cmd: "shutdown"
msmtp -t dan.grostick at outlook.com...
2024 Feb 23
0
Getting two notifications of nocomm-timer expired when USB cable is pulled from the UPS
...nt status: $CHMSG?? $1"
?????????????? cat /etc/nut/online.txt >/tmp/message
?????????????? cat /tmp/message >>/etc/nut/logfile
?????????????? logger -t upssched-cmd: "online"
?????????????? echo -e "$MSG2" >> /tmp/message
?????????????? /usr/bin/msmtp -t dan.grostick at outlook.com </tmp/message
?????????????? fi
;;
?????????????? onbatt)
?????????????? rm $FILE
?????????????? cat /etc/nut/onbatt.txt >>/etc/nut/logfile
?????????????? logger -t upssched-cmd: "onbatt"
?????????????? echo ""
?????????????? /usr/bin/msmtp -t?? </et...
2023 Jun 16
1
Dummy-ups cycles between online and onbatt every 5 minutes. (Nut 2.8.0)
...MSG2="Current status: $CHMSG $1"
cat /etc/nut/lowbatt.txt >/tmp/message
echo -e "$MSG1 $MSG2" >>/tmp/message
msmtp -t </tmp/message
;;
commok)
rm -f $FILE3
logger -t upssched-cmd: "commok"
msmtp -t dan.grostick at outlook.com </etc/nut/commok.txt
;;
commbad)
logger -t upssched-cmd: "commbad"
if [[ -f $FILE3 ]];
then
echo
else
touch $FILE3
msmtp -t dan.grostick at outlook.com </etc/nut/commbad.txt
fi
;;
shutdow...
2024 Mar 28
2
Heartbeat timer failure 15 minutes after startup
On Thu, 28 Mar 2024, Dan Grostick via Nut-upsuser wrote:
> All three systems have a heartbeat-timer failure approximately 15 minutes
> after starting NUT. No subsequent failures. Any ideas on what is happening?
I've seen the timers: heartbeat.conf has two 300 sec timers, upssched.cmd looks
like what is often called up...
2024 Mar 06
2
Upssched 100% CPU
...f Andy Smith via Nut-upsuser <nut-upsuser at alioth-lists.debian.net>
Sent: Tuesday, March 5, 2024 6:43 AM
To: nut-upsuser at alioth-lists.debian.net <nut-upsuser at alioth-lists.debian.net>
Subject: Re: [Nut-upsuser] Upssched 100% CPU
Hi,
On Tue, Mar 05, 2024 at 08:37:32AM +0000, Dan Grostick via Nut-upsuser wrote:
> My Raspberry PI 3B was overheating - 70 degrees C. I used Top and
> it turns out that upssched is taking 100% CPU. Debian 11 (PI Os).
> I have two others running the same configuration, 2.8.1 with no
> problems.
I have no first hand knowledge of this issue, b...
2024 Mar 29
1
Heartbeat timer failure 15 minutes after startup
...The binary upssched is used.
Dan
________________________________
From: Nut-upsuser <nut-upsuser-bounces+danpower2023=outlook.com at alioth-lists.debian.net> on behalf of Roger Price via Nut-upsuser <nut-upsuser at alioth-lists.debian.net>
Sent: Thursday, March 28, 2024 12:29 PM
To: Dan Grostick via Nut-upsuser <nut-upsuser at alioth-lists.debian.net>
Subject: Re: [Nut-upsuser] Heartbeat timer failure 15 minutes after startup
On Thu, 28 Mar 2024, Dan Grostick via Nut-upsuser wrote:
> All three systems have a heartbeat-timer failure approximately 15 minutes
> after starting NU...
2024 Mar 08
1
NUT 2.8.1 (source build) Pi OS bookworm 32 bit - nut-monitor trying to connect to UPS - Connection Refused
On Mar 8, 2024, at 8:22?AM, Dan Grostick via Nut-upsuser <nut-upsuser at alioth-lists.debian.net> wrote:
>
> I've installed 2.8.1 on a Raspberry PI 5 using Pi OS bookworm 64 bit (Debian 12) with success.
>
> When I take that same configuration to a PI 3B running bookworm 32 bit, compile from source, use the same fi...
2024 Feb 16
1
Stopping dummy ups from broadcasting messages
On Fri, 16 Feb 2024, Dan Grostick via Nut-upsuser wrote:
> Is there any way to stop dummy ups from continuously broadcasting status?
> (onbatt)? I want to keep the broadcasts from the ups itself.
Could you show us your entry in ups.conf for the dummy ups ?
If you have an entry "port = file" in that section of up...
2024 Mar 05
1
Upssched 100% CPU
Hi,
On Tue, Mar 05, 2024 at 08:37:32AM +0000, Dan Grostick via Nut-upsuser wrote:
> My Raspberry PI 3B was overheating - 70 degrees C. I used Top and
> it turns out that upssched is taking 100% CPU. Debian 11 (PI Os).
> I have two others running the same configuration, 2.8.1 with no
> problems.
I have no first hand knowledge of this issue, b...
2024 Feb 19
1
msmtp not running in upssched-cmd
On 19.02.24 14:48, Dan Grostick via Nut-upsuser wrote:
>Msmtp is not sending messages when invoked from upssched-cmd.
>I can manually invoke it from the command line.
where is its config file?
>There is a 's' instead of an 'x' in the ls -l. Might this be some sort of
>permission problem?
Should n...
2024 Mar 03
2
NUT 2.8.1 build from source - upssched missing
PI OS - Debian12 - Raspberry PI 5 NUT 2.8.1
I'm building from source just downloaded from GITHUB.
The error when starting NUT:
nut-monitor: /usr/sbin/upssched not found
I did a 'find / ' and upssched is not in the filesystem.
I've done a make clean, make uninstall.
then autogen.sh, make, make install
1. is there an option to make that completely removes everything? In
2023 Jun 14
1
Accessing: upsstats.cgi Error: no hosts to monitor (check hosts.conf)
Dan Grostick via Nut-upsuser <nut-upsuser at alioth-lists.debian.net>
writes:
> When Apache starts is complains about not finding the fully qualified domain name.
That seems normal
> In the past, upsstats.cgi would just load. I didn?t have to do any Apache2 configuration. I don?t know what has ch...
2024 Mar 06
1
Upssched 100% CPU
...2.8.0.7 did install the newer nut, but nut-client and nut-server
were again 2.7.4.
using nut-client and nut-server standalone and of newer versions did refuse
to install
Von: Nut-upsuser
<nut-upsuser-bounces+edward.ebay=t-online.de at alioth-lists.debian.net> Im
Auftrag von Dan Grostick via Nut-upsuser
Gesendet: Mittwoch, 6. M?rz 2024 08:36
An: nut-upsuser at alioth-lists.debian.net; Andy Smith <andy at strugglers.net>
Betreff: Re: [Nut-upsuser] Upssched 100% CPU
Thanks for the tip.
I had downloaded a prerelease source version of NUT 2.8.1, built and
installed it. Ev...
2024 Feb 16
1
Stopping dummy ups from broadcasting messages
Is there any way to stop dummy ups from continuously broadcasting status? (onbatt) I want to keep the broadcasts from the ups itself.
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20240216/b43de97f/attachment.htm>
2024 Feb 16
0
Stopping dummy ups from broadcasting messages
On Fri, 16 Feb 2024, Dan Grostick wrote:
> [heartbeat]
> driver=dummy-ups
> port=heartbeat.conf
> mode=dummy-once
> desc= "Heart beat verfication of NUT"
I would be interesting to see the file heartbeat.conf and the NOTIFYFLAG
declarations in upsmon.conf .
See also chapter 6.3 "Configuration file u...
2024 Feb 19
1
msmtp not running in upssched-cmd
Msmtp is not sending messages when invoked from upssched-cmd. I can manually invoke it from the command line. There is a 's' instead of an 'x' in the ls -l. Might this be some sort of permission problem?
upsmon.conf has run user as root.
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2024 Mar 05
1
Upssched 100% CPU
My Raspberry PI 3B was overheating - 70 degrees C. I used Top and it turns out that upssched is taking 100% CPU. Debian 11 (PI Os). I have two others running the same configuration, 2.8.1 with no problems. If I kill upssched, it soon reestablishes the 100% CPU usage.
Any ideas on how to diagnose the issue?
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2024 Mar 28
1
Heartbeat timer failure 15 minutes after startup
I have 3 Raspberry Pi NUT 2.8.1 systems running PI OS. (Debian 11 and 12)
All three systems have a heartbeat-timer failure approximately 15 minutes after starting NUT. No subsequent failures. Any ideas on what is happening?
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2024 Mar 29
0
Heartbeat timer failure 15 minutes after startup
On Fri, 29 Mar 2024, Dan Grostick wrote:
> It is consistently happening 14-15 minutes after starting. Please see attached
> upssched-cmd and upssched.conf. I don't have a upssched.cmd. The binary
> upssched is used.
If you speed up the heartbeat by reducing the timers in heartbeat.conf from 300
to 150, and the tim...