search for: notifymsg

Displaying 20 results from an estimated 96 matches for "notifymsg".

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 "Someone pulled the plug on %s&...
2010 Jan 09
2
problem with mailing (nut 2.4.1 and a powermust650 -> megatec_usb)
...ept for the mailing when something happens. My upsmon looks like this: MONITOR powermust650 at localhost 1 local controller master MINSUPPLIES 1 SHUTDOWNCMD "/sbin/shutdown -h +0" NOTIFYCMD /root/upsmailer POLLFREQ 10 POLLFREQALERT 5 HOSTSYNC 15 DEADTIME 45 POWERDOWNFLAG /etc/killpower 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...
2017 Jun 09
2
Apple Mac slave
...from the NAS and connecting it (if possible) to the Mac. After setting to 80 and a power off-on cycle is the value 80 or 10? > 3. Users from the NAS are warned, not yet the Mac user.? Only when > executing automatic power-fail shutdown.? In upsmon.conf on the Mac, what are the values of NOTIFYMSG ONBATT and NOTIFYFLAG ONBATT? Does program wall work on the Mac? It fails on a lot of Linux boxes with graphical interfaces - to get a message to the user, you have to use notify-send, which means setting up upssched. > 7. No they didn?t restart. I know there is a setting on the NAS to &gt...
2017 Jun 09
0
Apple Mac slave
On Fri, 9 Jun 2017, Robbie van der Walle wrote: > # NOTIFYMSG - change messages sent by upsmon when certain events occur > # > # You can change the default messages to something else if you like. > # > # NOTIFYMSG <notify type> "message" > # > # NOTIFYMSG ONLINE "UPS %s on line power" > # NOTIFYMSG ONBATT "U...
2012 Jan 28
2
No shutdown on empty battery
...LanSafe III, so the failure did get reported correctly. However, the nut did not shut down the system. My upsmon.conf is: MONITOR upsb1 at localhost 1 upsmon suprpass master MINSUPPLIES 1 SHUTDOWNCMD "init 0" POLLFREQ 5 POLLFREQALERT 5 HOSTSYNC 15 DEADTIME 15 POWERDOWNFLAG /etc/killpower 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...
2015 Oct 27
0
The system doesn't shutdown
...lhost 1 upsmaster ********* master MINSUPPLIES 1 SHUTDOWNCMD "logger -t upsmon.conf \"SHUTDOWNCMD calling /sbin/shutdown to shut down system\" ; /sbin/shutdown -h +0" NOTIFYCMD /usr/sbin/upssched POLLFREQ 5 POLLFREQALERT 5 HOSTSYNC 15 DEADTIME 15 POWERDOWNFLAG /etc/ups/killpower 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 COMMBAD "Commu...
2020 Apr 28
2
Tripp-Lite SMART1500LCD: powers off with /etc/killpower...then powers back on...
...------------------------------------------------------------------------- upsmon.conf RUN_AS_USER root MONITOR Tripp_Lite at localhost 1 upsmon xxxxxx master MINSUPPLIES 1 SHUTDOWNCMD "/sbin/shutdown -h +0" POLLFREQ 5 POLLFREQALERT 5 HOSTSYNC 5 DEADTIME 15 POWERDOWNFLAG /etc/killpower # 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 COMMBAD "Commun...
2015 Jul 15
3
No messages
...?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...
2023 Jun 11
1
Upssched 100% CPU after updating Debian 12
...calhost 1 upsmaster xxx primary MONITOR heartbeat at localhost 0 upsmaster xxx primary MINSUPPLIES 1 NOTIFYCMD /sbin/upssched SHUTDOWNCMD "/sbin/shutdown -h +0" POLLFREQ 5 POLLFREQALERT 5 HOSTSYNC 15 DEADTIME 15 POWERDOWNFLAG /etc/killpower RBWARNTIME 43200 NOCOMMWARNTIME 300 FINALDELAY 5 NOTIFYMSG ONLINE "UPS %s: On line power." NOTIFYMSG ONBATT "UPS %s: On battery." NOTIFYMSG LOWBATT "UPS %s: Battery is low." NOTIFYMSG REPLBATT "UPS %s: Battery needs to be replaced." NOTIFYMSG FSD "UPS %s: Forced shutdown in progress." NOTIFYMSG SHUTDOWN &qu...
2017 Jun 08
5
Apple Mac slave
On Thu, 8 Jun 2017, Robbie van der Walle wrote: > The "upsrw" command contacts upsd, so it sounds like you should be able to add a user to upsd.users on the NAS, and then run something like > this on the Mac: > > ??upsrw -s battery.charge.low=80 -u upsmaster -s sekret UPS at synology > > Per?http://networkupstools.org/docs/man/upsd.users.html?,
2012 Apr 11
1
NOTIFYCMD doesn't work from Windows service
...e) everything works fine. Here is my upsmon.conf: MONITOR central at 10.35.0.180 1 user password slave MINSUPPLIES 1 SHUTDOWNCMD "C:\\NUT\\shutdown.bat" NOTIFYCMD "C:\\NUT\\shutdown.bat" POLLFREQ 5 POLLFREQALERT 5 HOSTSYNC 15 DEADTIME 15 POWERDOWNFLAG "C:\\killpower" NOTIFYMSG ONLINE ONLINE NOTIFYMSG ONBATT ONBATT NOTIFYMSG LOWBATT LOWBATT NOTIFYMSG FSD FSD NOTIFYFLAG ONLINE SYSLOG+WALL+EXEC NOTIFYFLAG ONBATT SYSLOG+WALL+EXEC NOTIFYFLAG LOWBATT SYSLOG+WALL+EXEC NOTIFYFLAG FSD SYSLOG+WALL+EXEC RBWARNTIME 43200 NOCOMM...
2017 Apr 04
2
battery not installed, but battery still 100% and NUT 2.7.2-4 does not catch this and report a error
...ings upsmon needs: 1. A fall-through <notify type> of "UNKNOWN" so that all status changes, no matter how wierd, can be caught. Such a catch-all <notify type> would also have caught the "ALARM" from the old battery. 2. A UPS specific option in the NOTIFYFLAG and NOTIFYMSG declarations as already provided by the AT declaration in upssched.conf. This would make it possible to have messages and action specific to a UPS, in a multi-UPS configuration. I would like to be able to specify NOTIFYMSG myups at localhost ONBATT "%s: local UPS on battery&quot...
2020 Mar 10
2
Fwd: Windows upssched does not work
...ent --- upsmon.conf MONITOR ups_1000 at 192.168.3.95 1 <user> <password> slave MINSUPPLIES 1 SHUTDOWNCMD "C:\\WINDOWS\\system32\\shutdown.exe /t 600 /s /d u:6:11" NOTIFYCMD C:\\NUT\\notify.cmd POLLFREQ 5 POLLFREQALERT 5 HOSTSYNC 15 DEADTIME 15 POWERDOWNFLAG C:\\NUT\\killpower 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 C...
2016 Apr 26
0
[PATCH] upsmon: Add NOTIFYMSG to env of NOTIFYCMD
...smon.c 2016-04-25 20:17:44.392925130 -0600 +++ upsmon.c+ 2016-04-25 20:18:21.512871526 -0600 @@ -151,6 +151,7 @@ setenv("UPSNAME", "", 1); setenv("NOTIFYTYPE", ntype, 1); + setenv("NOTIFYMSG", notice, 1); if (system(exec) == -1) { upslog_with_errno(LOG_ERR, "%s", __func__); }
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 COMMBAD "Comm...
2017 Oct 18
2
debian 8 "jessie" nut 2.7.2 slaves not shutting down
OS name and version, MASTER SYSTEM has three APC smart UPS 3000 UPS connected via USB debian 8 "jessie" Linux pdxvhtst01 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u5 (2017-09-19) x86_64 GNU/Linux SLAVE SYSTEMS monitoring MASTER via IP debian 8 "jessie" Linux geaaetst01
2015 Oct 27
2
The system doesn't shutdown
Yes, that was the power off test. However the upssched-cmd script gave absolutely no signs of activity. Even it's logger lines don't show up in journalctl. No any permission error messages - nothing. Only the 2 messages from upsmon - on battery and then on line power. Here is the nut-report: http://www.filehosting.org/file/details/518300/NUT.report --- George Anchev On Tue, Oct 27,
2017 Oct 18
2
debian 8 "jessie" nut 2.7.2 slaves not shutting down
....conf MONITOR TOPAPC at localhost 1 upsmon pass master MONITOR MIDAPC at localhost 1 upsmon pass master MONITOR BOTAPC at localhost 1 upsmon pass master MINSUPPLIES 1 SHUTDOWNCMD "/sbin/shutdown -h now" NOTIFYCMD /bin/notifynetadmins POLLFREQ 5 POLLFREQALERT 5 HOSTSYNC 15 DEADTIME 15 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&...
2023 Jun 10
1
Fopen upsmon.pid - no such file or directory - Nut 2.8.0 built from source
..._AS_USER root MONITOR ups at localhost 1 upsmonitor ****m**** primery MONITOR heartbeat at localhost 0 heartbeat ****m**** MINSUPPLIES 1 SHUTDOWNCMD "/sbin/shutdown -h +2" NOTIFYCMD /etc/nut/upssched-cmd POLLFREQ 10 POLLFREQALERT 5 HOSTSYNC 15 DEADTIME 30 POWERDOWNFLAG /etc/killpower NOTIFYMSG ONLINE "online" NOTIFYMSG ONBATT "onbatt" NOTIFYMSG LOWBATT "lowbatt" NOTIFYMSG FSD "fsd" NOTIFYMSG COMMOK "commok" NOTIFYMSG COMMBAD "commbad" NOTIFYMSG SHUTDOWN "shutdown" NOTIFYM...
2020 Jun 21
2
Server did not shut down