Displaying 20 results from an estimated 2000 matches similar to: "NOTIFYCMD not running"
2015 Sep 22
2
NOTIFYCMD shell script problem driving me NUTS
Either I am missing something or I am really STUPID.
1. I have added a user, named nutmon, to the nut group.
2. In upsmon.conf I have set RUN_AS_USER nutmon .
3. I have NOTIFYCMD /etc/nut/notifyme.sh and it is set as 755, so should be
executable by everyone.
4. I have the NOTIFYFLAG set as SYSLOG+WALL+EXEC, so the shell should
execute.
This is the shell script :
#!/bin/bash
#
# NUT NOTIFYCMD
2011 Sep 02
2
NUT 2.6.1+ Windows 2008 R2 - NOTIFYCMD not being called
Hi All,
I'm using a recent post 2.6.1 build provided by Fred (executables have modified date of 9th August)
I have configured upsmon.conf with :-
NOTIFYCMD C:\NUT\etc\NotifyCmd.bat
and :-
NOTIFYFLAG ONLINE SYSLOG+EXEC
NOTIFYFLAG ONBATT SYSLOG+EXEC
NOTIFYFLAG LOWBATT SYSLOG+EXEC
NOTIFYFLAG FSD SYSLOG+EXEC
NOTIFYFLAG COMMOK SYSLOG+EXEC
NOTIFYFLAG COMMBAD SYSLOG+EXEC
2012 Apr 11
1
NOTIFYCMD doesn't work from Windows service
Hello dear all,
I try to use NUT for windows (not WinNUT), and stuck with launching NOTIFYCMD.
On any event marked as SYSLOG+WALL+EXEC syslog entry appears, popup
window appears, but NOTIFYCMD script doesn't run.
If I run upsmon.exe in cmd (i. e. not as a service) everything works fine.
Here is my upsmon.conf:
MONITOR central at 10.35.0.180 1 user password slave
MINSUPPLIES 1
SHUTDOWNCMD
2006 Feb 14
3
Master privileges unavailable on UPS
Hello all,
I'm having problems with what I'm told should be a straightforward
issue.
The message in /var/log/daemon is:
<quote>
Feb 13 10:37:57 lupin upsmon[31324]: Master privileges unavailable on
UPS [lupin1500AVR@localhost]
2006 Jul 11
2
notifycmd problem
hello,
i've got a problem with the notifycmd
here is a part of my upsmon.conf :
NOTIFYCMD /usr/local/ups/bin/nut_notify
NOTIFYMSG ONLINE "UPS %s is getting line power"
NOTIFYMSG ONBATT "UPS %s is on battery"
NOTIFYMSG REPLBATT "The UPS %s battery is bad and needs to be replaced"
NOTIFYMSG LOWBATT "UPS %s is being shutdown by the master"
NOTIFYMSG FSD
2020 Jan 28
1
Timer doesn't appear to start
The time and upssched-cmd are now working.
Here are the issues I had:
1) Did not define NOTIFYCMD in upsmon.conf Added NOTIFYCMD /sbin/upssched
2) Added +EXEC to NOTIFYMSG rules I am using
3) Change ownership of upssched.conf to my nut user nutmom. I had added
nutmon to the group nut but it didn't work.
Thanks again for all your guidance
On Tue, Jan 28, 2020 at 7:00 AM
2020 Jan 28
0
Timer doesn't appear to start
If you look closer at:
> pi at nutpi:~ $ sudo ls -alt /home/nutmon
> total 32
> -rw------- 1 nutmon nutmon 172 Jan 26 12:32 .bash_history
> drwxrwx--- 2 nutmon nutmon 4096 Jan 26 12:32 upssched
there is a d in the first position of the upssched permissions showing this
is a directory. This is the directory location for PIPEFN and LOCKFN as
defined in
2020 Jan 28
0
Timer doesn't appear to start
One last update. I needed to log out and in to get the group add of my user
nutmon to be recognized. My permissions are now root:nut on upssched.conf
and it works.
On Tue, Jan 28, 2020 at 7:00 AM <nut-upsuser-request at alioth-lists.debian.net>
wrote:
> Send Nut-upsuser mailing list submissions to
> nut-upsuser at alioth-lists.debian.net
>
> To subscribe or unsubscribe
2020 Feb 11
1
NOTIFYCMD not running
I just went through the same issue. Take a look at my thread.
Double check that upsmon.conf:NOTIFYCMD /sbin/upssched is not still
commented.
On Tue, Feb 11, 2020 at 7:00 AM <nut-upsuser-request at alioth-lists.debian.net>
wrote:
> Send Nut-upsuser mailing list submissions to
> nut-upsuser at alioth-lists.debian.net
>
> To subscribe or unsubscribe via the World Wide
2020 Feb 11
1
NOTIFYCMD not running
> When you run that command, does "some text" appear in the system log?
When I run Documents/scripts/ups-log.py manually I do see the expected text
echo'ed to the command line. It actually appends to a Google Sheet, not
the internal log files.
When I would expect to see it triggered by NOTIFYCMD, I don't see any text
printed and nothing shows up at the google sheets. If
2020 Feb 11
1
NOTIFYCMD not running
Hi, I'm setting up NUT on a raspberry pi 4, following the guide here:
https://melgrubb.com/2016/12/11/rphs-v2-ups/
OS version: Raspian Buster
NUT version: 2.7.4.8
Installed via: apt package install
Device: Legrand Keor Multiplug connected via USB
The problem I am experiencing is that *NOTIFYCMD* never runs. I can
connect to the device via *upsc*, and I receive WALL messages when I
connect
2020 Jan 27
1
Timer doesn't appear to start
Here is the output
root at nutpi:/etc/nut# ps -elf | grep -E '[n]ut|ups[dms]'
4 S avahi 246 1 0 80 0 - 1472 poll_s Jan26 ? 00:00:31
avahi-daemon: running [nutpi.local]
1 S nut 451 1 0 80 0 - 678 poll_s Jan26 ? 00:03:41
/lib/nut/upscode2 -a deltec-PRA1500
1 S nut 454 1 0 80 0 - 1173 poll_s Jan26 ? 00:00:28
/lib/nut/upsd
1
2020 Feb 11
1
NOTIFYCMD not running
>I just went through the same issue. Take a look at my thread.
>Double check that upsmon.conf:NOTIFYCMD /sbin/upssched is not still
commented.
Thanks for the response, can you link to it? I'm not finding it in the
search. I'm not using /sbin/upssched, I have NOTIFYCMD set up as:
NOTIFYCMD /home/pi/Documents/scripts/ups-log.py
and it's not commented out.
On Tue, Feb 11, 2020
2013 Apr 11
1
NOTIFYCMD and SHUTDOWNCMD do not work until Nut is restarted
Hi everybody,
I installed and configured Nut 2.4.3 on Debian Squeeze, using package.
It monitors an MGE Pulsar 1500 UPS in standalone mode.
Here are parts of upsmon.conf :
SHUTDOWNCMD "/bin/bash /root/extinction.sh >> /var/log/ups/ups.log 2>>&1"
NOTIFYCMD "/bin/bash /usr/sbin/alerte.sh"
[...]
NOTIFYFLAG ONBATT SYSLOG+EXEC
At startup, driver, upsd and upsmon
2017 Jul 03
2
Help with Elite 800VA usb UPS
Ok, I am running NUT in dummy mode.
I have added a new ups in ups.conf
[dummy]
driver = dummy-ups
port = upsc.dev
desc = "dummy ups for testing purposes"
upsc.dev has been generated by exporting the Elit configuration.
I have added the monitor line in upsmon.conf and the "exec" flags (all the
events)
MONITOR dummy at artu 1 user pass master
SHUTDOWNCMD
2017 Jan 09
2
NUT Client shuts down when performing runtime calibration on APC UPS
Here are the results from the output of upsc under different conditions from my Debian Test system with NUT 2.7.2 :
Normal: ups.status: OL
No wall power: ups.status: OB
Runtime calibration (started from AP9630 web interface): ups.status: OB CAL
So at this stage there is a difference!
I then connected to my QNAP and set the UPS settings on the web interface to "Shutdown server if power
2024 Oct 30
1
NUT 2.8.1-3 " Can't claim USB device [051d:0002]@0/0: Entity not found" using usbhid-ups
Hi all,
Yesterday, I bought a UPS for the first time in my life, and was eager to
dive into NUT. But not all is working as expected... I saw a similar thread
started on 18 October, but it didn't help me. (I also spent a handful of
hours searching the web for solutions, and of course read the manual and
FAQ - "queequeg".)
I tried shutting my UPS (APC "Back-UPS BX750MI
2020 Jan 27
3
Nut-upsuser Digest, Vol 175, Issue 32
Here are my permissions and user info. Let me know if there is anything
else I should check
pi at nutpi:~ $ ls -alt /etc/nut
total 56
drwxr-xr-x 87 root root 4096 Jan 26 15:22 ..
drwxr-xr-x 2 root nut 4096 Jan 26 13:53 .
-rw-r----- 1 root nut 4719 Jan 26 13:15 upssched.conf
-rw-r----- 1 root nut 15347 Jan 26 11:25 upsmon.conf
-rw-r----- 1 root nut 1543 Jan 26 10:02 nut.conf
-rw-r-----
2020 Mar 10
2
Fwd: Windows upssched does not work
Hi,
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.
Here are my configs:
--- nut.conf
MODE=netclient
--- upsmon.conf
MONITOR ups_1000 at 192.168.3.95 1 <user> <password> slave
2006 Jul 15
2
Shutdown Problem
Hi
I'm hoping someone can help.
I'm running fc5 with nut 2.0.3. I just recently acquired 2 Gamatronic
SmartCompact ups for my Linux boxes. As you can see from the info below,
everything looks ok. When I unplug the ups from the wall, after a while, the
computer shutdowns very rudely. That it is just turns off. No scrolling down
of processes shutting down It does not seem shutdown