Displaying 20 results from an estimated 527 matches for "upssche".
Did you mean:
upssched
2015 Apr 27
3
upssched setup
Hi Roger,
I get:
Apr 27 20:50:05 unifi upsmon[1022]: UPS ups on batteryApr 27 20:50:05 unifi upssched[2688]: Timer daemon startedApr 27 20:50:06 unifi upssched[2688]: New timer: onbatt (20 seconds)Apr 27 20:50:26 unifi upssched[2688]: Event: onbattApr 27 20:50:26 unifi upssched[2688]: exec_cmd(/sbin/upssched-cmd.sh onbatt) returned 126Apr 27 20:50:41 unifi upssched[2688]: Timer queue empty, exitin...
2015 Apr 27
2
upssched setup
...and it didnt work.
Hence why I was trying to run just the shell script manually. I am not sure if this works though with the timer defined in it?
Cheers,
James
Date: Mon, 27 Apr 2015 15:03:44 +0200
From: roger at rogerprice.org
To: nut-upsuser at lists.alioth.debian.org
Subject: Re: [Nut-upsuser] upssched setup
On Mon, 27 Apr 2015, James Hammond wrote:
> I am unable to get upssched working correctly as my UPS calls low
> battery too late and there is no way to change it. I am running Nut
> 2.7.3 on Ubuntu 14.04 I have made this script, called
> /sbin/upssched-cmd.sh
>
> #!/...
2023 Jun 13
1
Upssched 100% CPU after updating Debian 12
...s more system information from the commands you mentioned.
Kari
root at fricka:~# lsof -p 1716171
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1002/gvfs
Output information may be incomplete.
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
upssched 1716171 root cwd DIR 8,2 4096 2 /
upssched 1716171 root rtd DIR 8,2 4096 2 /
upssched 1716171 root txt REG 8,2 39240 21762148 /usr/sbin/upssched
upssched 1716171 root mem REG 8,2 1922136 21764230...
2023 Jun 13
1
Upssched 100% CPU after updating Debian 12
...s more system information from the commands you mentioned.
Kari
root at fricka:~# lsof -p 1716171
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1002/gvfs
Output information may be incomplete.
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
upssched 1716171 root cwd DIR 8,2 4096 2 /
upssched 1716171 root rtd DIR 8,2 4096 2 /
upssched 1716171 root txt REG 8,2 39240 21762148 /usr/sbin/upssched
upssched 1716171 root mem REG 8,2 1922136 21764230...
2006 May 09
4
upssched does not start the script when timer triggers
Hello,
I'm using nut with my MG Ellipse on serial port. No problem since one
year. Two days ago, I wanted to add a phone alert through my asterisk
box when power is down. Since then, upssched doesn't make his job
anymore. here is the "syslog" I get when the power cord is unplugged :
>
> May 9 11:39:34 serveur upsmon[6411]: UPS ellipse@localhost on battery
> May 9 11:39:34 serveur upssched[6823]: Timer daemon started
> May 9 11:39:34 serveur upssched[6823]:...
2020 Mar 11
1
Fwd: Windows upssched does not work
ut 10. 3. 2020 o 16:34 Roger Price <roger at rogerprice.org> napĂsal(a):
>
> On Tue, 10 Mar 2020, Radoslav Chovan wrote:
>
> > I have problem with upssched on windows. Upssched is not executed. I
> > have 2 scripts, 1 for notification in upsmon and second for scheduling
> > in upssched. Monitoring is working fine, script write to log. I'm
> > using binary windows installer 2.6.5-6 from NUT.
>
> > --- upsmon.conf
> &g...
2006 Nov 21
1
MGE Nova 1100 AVR + upssched
Hi, I'm having problems to configure upssched in order to notify me only
when the disconnection exceeds the 30 seconds.
Now, I'm getting a mail if it is disconnected just for a second, or even
worse, when I got low tension.
So, mail notifications are well configured, I guess...
I think the problem is in upssched.
I'm new to this, so i...
2019 Mar 26
0
Bug: upssched and 3+ UPSes
Hi,
I've stumbled over a race condition in upssched when using 3 or more UPSes in combination with START-TIMER/CANCEL-TIMER.
I have a solution that works but is ugly, so I'm going to describe the bug here in the hope somebody can come up with a better solution.
The problem is in upssched.c:629 check_parent() (see https://github.com/networkups...
2023 Jun 11
1
Upssched 100% CPU after updating Debian 12
Hi,
I have been running nut successfully for a long time with my Debian 11 server. I upgraded my server to Debian 12 today, which upgraded nut also from 2.7.4-13 to 2.8.0-7. I noticed that after upgrade there was a upssched process running and taking 100% cpu time.
I checked if there were any changes to configuration file formats with nut upgrade and only differences I noticed were a terminology change from master/slave to primary/secondary in upsd.users and upsmon.conf, and dummy mode change for the dummy-ups. I di...
2012 Jun 25
1
upssched script doesn't start on event
Dear list,
Can't make upssched notify me on event occured.
OS: Debian, 2.6.26-1-amd64
Nut: 2.4.3-1.1squeeze1
UPS: Ippon Smart Winner 3000 connected via COM
On event ( plug out the cord from UPS ) upsmon detect's status change to
OB and gives WALL and syslog notify, but no script starting. In syslog
no errors and no upss...
2015 Apr 27
0
upssched setup
...problem.".
Are you sure that the script is executable by the user running NUT? Do
you have SELinux enabled?
Regards,
Neil.
On 27/04/15 20:55, James Hammond wrote:
> Hi Roger,
>
> I get:
>
> Apr 27 20:50:05 unifi upsmon[1022]: UPS ups on battery
> Apr 27 20:50:05 unifi upssched[2688]: Timer daemon started
> Apr 27 20:50:06 unifi upssched[2688]: New timer: onbatt (20 seconds)
> Apr 27 20:50:26 unifi upssched[2688]: Event: onbatt
> Apr 27 20:50:26 unifi upssched[2688]: exec_cmd(/sbin/upssched-cmd.sh
> onbatt) returned 126
> Apr 27 20:50:41 unifi upssched[268...
2023 Jun 13
1
Upssched 100% CPU after updating Debian 12
...Experimental debugging now sounds possible.
(*) PC under the desk wails with all its cooling fans as soon as I started
the client which spawned a daemon and itself had exited:
$ UPSNAME=heartbeat at localhost NOTIFYTYPE=ONBATT NUT_STATEPATH=/dev/shm
NUT_CONFPATH=`pwd`/tests/NIT/tmp/etc ./clients/upssched -DDDDDDDD
0.000000 [D2] parse_at: is 'heartbeat at localhost' in AT command the
'heartbeat at localhost' we were launched to process?
0.000053 [D1] parse_at: 'heartbeat at localhost' in AT command matched
the 'heartbeat at localhost' UPSNAME we were la...
2023 Jun 13
1
Upssched 100% CPU after updating Debian 12
...Experimental debugging now sounds possible.
(*) PC under the desk wails with all its cooling fans as soon as I started
the client which spawned a daemon and itself had exited:
$ UPSNAME=heartbeat at localhost NOTIFYTYPE=ONBATT NUT_STATEPATH=/dev/shm
NUT_CONFPATH=`pwd`/tests/NIT/tmp/etc ./clients/upssched -DDDDDDDD
0.000000 [D2] parse_at: is 'heartbeat at localhost' in AT command the
'heartbeat at localhost' we were launched to process?
0.000053 [D1] parse_at: 'heartbeat at localhost' in AT command matched
the 'heartbeat at localhost' UPSNAME we were la...
2007 Jun 24
1
upssched. Again.
Hi everyone,
Here I am with my second attempt to persuade upssched to do things; for some
reasons it just won't! Or if it runs, it never runs the script.
OK, the story first: 2.0.3 (conveniently comes as RPMs by default on FC6)
running on FC6; APC Smart-UPS 750 via serial connection all working fine.
Here are the main files:
/etc/sysconfig/ups
SERVER=yes...
2018 Sep 20
3
Upssched not getting called from UPSMON
Hi, I cant seem to get my upssched to get called by upsmon. Upsmon -c fsd just shuts down without the message I set or the one in upssched-cmd
/etc/ups/upsmon.conf:
MONITOR ups6 at localhost 1 <user> <pass> master
MONITOR ups8 at localhost 1 <user> <pass> master
SHUTDOWNCMD "/sbin/shutdo...
2013 Mar 08
0
HowTo use upssched right.
Hi,
I want to test the events off my UPS.
I define
In upsmon.conf:
RUN_AS_USER root
NOTIFYCMD /sbin/upssched
NOTIFYMSG ONLINE "UPS %s on line power"
NOTIFYMSG ONBATT "UPS %s on battery"
NOTIFYMSG LOWBATT "UPS %s battery is low"
# NOTIFYMSG FSD "UPS %s: forced shutdown in progress"
NOTIFYMSG COMMOK "Communications with UPS %s established"
NOTIFYMSG COMMBA...
2015 Apr 27
2
upssched setup
...e shutdown working now but need to tighten up the permissions. Not too sure where to start with assigning the correct permissions.
Cheers,
James
> Date: Mon, 27 Apr 2015 21:25:45 +0100
> From: neil at dana.org.uk
> To: nut-upsuser at lists.alioth.debian.org
> Subject: Re: [Nut-upsuser] upssched setup
>
> Hi,
>
> The exec is returning 126 - "Command invoked cannot execute. A
> permission or command not executable problem.".
>
> Are you sure that the script is executable by the user running NUT? Do
> you have SELinux enabled?
>
> Regards,
>...
2024 Feb 23
0
Getting two notifications of nocomm-timer expired when USB cable is pulled from the UPS
NUT 2.8.01
When I pull the USB cable from the UPS, I get two notifications of the nocomm-timer expired. The first notification is in the proper sequence, the second notification occurs after 'commok' occurs. Seems somehow that upssched-cmd is getting a second nocomm-timer expired delayed.
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20240223/6ddbbe12/attachment.htm>
-------------- next part --------------
Feb 23 09:41:2...
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 upssched.conf and has a 660 sec timer. So it looks as
if the heartbeat has worked once, after 10 min.
Do you have a file upssched.conf?
I would expect upssched.cmd (perhaps upssched-cmd) to contain a script.
Roger
2023 Jun 13
3
Upssched 100% CPU after updating Debian 12
...[D1] Keeping stderr open due to debug verbosity 8
0.000195 Timer daemon started
0.000204 [D2] Timer daemon waiting for connections on pipefd 10
0.250325 [D3] new connection on fd 7
0.250377 New timer: heartbeat-failure-timer (660 seconds)
0.250423 [D1] Exiting upssched (CLI process)
0.000000 [D2] parse_at: is 'heartbeat at localhost' in AT command the
'heartbeat at localhost' we were launched to process?
0.000039 [D1] parse_at: 'heartbeat at localhost' in AT command matched
the 'heartbeat at localhost' UPSNAME we we...