search for: upsch

Displaying 19 results from an estimated 19 matches for "upsch".

Did you mean: upsc
2023 May 27
2
unable to connect to APC UPS Connection Refused
...spBerry-Pi-3 nut-monitor[2953]: upscli_init called but SSL wasn't compiled in May 27 09:15:17 RaspBerry-Pi-3 nut-monitor[2953]: UPS [ups at localhost]: connect failed: Connection failure: Connection refused May 27 09:15:17 RaspBerry-Pi-3 nut-monitor[2953]: commbad May 27 09:15:17 RaspBerry-Pi-3 upsched-cmd.sh:: upsched-cmd.sh running May 27 09:15:17 RaspBerry-Pi-3 upssched:: commbad May 27 09:15:17 RaspBerry-Pi-3 nut-monitor[2954]: Network UPS Tools upsmon 2.8.0.1 May 27 09:15:22 RaspBerry-Pi-3 nut-monitor[2953]: UPS [ups at localhost]: connect failed: Connection failure: Connection refused May...
2023 Jun 10
1
Fopen upsmon.pid - no such file or directory - Nut 2.8.0 built from source
...st EXECUTE online AT ONLINE ups at localhost CANCEL-TIMER heartbeat-failure-timer AT ONBATT heartbeat at localhost CANCEL-TIMER heartbeat-failure-timer AT ONBATT heartbeat at localhost START-TIMER heartbeat-failure-timer 660 ########### /etc/nut/upssched-cmd ########### logger -t upsched-cmd: "upsched-cmd running" UPS="ups at localhost" STATUS=$( upsc $UPS ups.status) CHARGE=$( upsc $UPS battery.charge) CHMSG="[$STATUS] : $CHARGE%" case $1 in online) logger -t upssched-cmd: "online" MSG1="Subject: UPS online&quo...
2015 Jun 03
2
iMAC does not shutdown
...any FLAG from UPS and UPS just died but halting just RASP-1 properly (connected via cable). iMac ignored the whole procedure. 3. Is there any way to intercept which type of flag message my UPS sends (log files) to upsmon? 4. I need to halt manually a linux based NAS via SSH. What is the best way (upsched or a script that parses battery.charge and takes decision independently from NUT). Thanks Simone -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20150603/c9fbaf4a/attachment.html>
2020 Apr 23
3
Low battery unexpected shutdown
...ALARM OB LB So, indeed was in LowBattery and FSD shutdown, however note that the current charge was 73% >> 20% low battery, so why it set LB when there were enough battery to run? Is this a comm problem, device issue, driver ? So mainly my concerns questions are: A) Can upsched introduce some race-conditions making a timer cancel cancel other timers not related ? B) May my UPS be faulting or just some USB driver issue? Any other hint, information or idea is welcomed. Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://ali...
2017 Jul 22
3
Compaq R3000h support
Hi List. I have an old Compaq 3000 (Eaton 5119). It is running servers, disk-arrays, one workstation etc. I am planning to install NUT (master) on a headless CENTOS 6.8 system. Connect the UPS with seral cable. Now my main question is, Does NUT support the power segments on the UPS. My intention is to be able to take down the system in an ordered way before the batteries are exhausted. I.e 5 mins
2019 Jun 08
3
How to shutdown macOS / mac OSX from Network UPS Tools client - NUT
On Jun 8, 2019, at 4:16 PM, Roger Price wrote: > > Is your System Shutdown Plan to shut down using upsmon or using the script upsched-cmd? In upssched.conf you do not have a line > > AT LOWBATT ups at ... EXECUTE lowbatt > > and in upssched-cmd there is nothing to shut down the system. Joe, Roger has a good point - the SHUTDOWNCMD should work as long as the master system waits for the "OB LB" state, a...
2019 Jun 08
2
How to shutdown macOS / mac OSX from Network UPS Tools client - NUT
Hi, I’ve posted my question on Superuser.com but not had any replies in 2 weeks, so I guess no-one there knows anything about NUT. https://superuser.com/questions/1441153/how-to-shutdown-macos-mac-osx-from-network-ups-tools-client-nut <https://superuser.com/questions/1441153/how-to-shutdown-macos-mac-osx-from-network-ups-tools-client-nut> I’m looking for help in shutting down my iMac on
2020 Sep 29
5
Question about hardware failures / FSD
Hello, The UPS I am developing a driver to is able to report several flags for critical hardware conditions, like overheat, overload, inverter failure, output short etc. What should be the correct policy of operation when such a condition occurs? I think that the an UPS in such a condition is not reliable and therefore a system shutdown should be called. However, the developer's manual and
2017 Jul 22
0
Compaq R3000h support
...willing to test, though - you might not want to do this in production.) > I.e > 5 mins after Power Loss take shut down the servers on segment 3. > When they are down, shut down power for segment 3 > Then repeat for segment 2 > And finally process servers on segment 1 I do not use upsched (which is generally necessary for shutting down after a specified time on battery, rather than when the UPS determines that the battery is low), but it should be possible to do this even without controlling the segments. Perhaps someone else with more recent experience can comment on this. >...
2019 Feb 09
1
Delay for ONBATT event
Hi, my UPS (APC SMC1000C) goes to ONBATT every day for a few seconds. This event is emitted because of the short daily UPS self-test, which cannot be disabled. Depending on the poll interval upsmon/NUT sometimes picks this event up and a power failure is logged, even if this is not a real power outage. I would like to prevent that. Now I was wondering if there is a way to delay the ONBATT event
2019 Jun 08
0
How to shutdown macOS / mac OSX from Network UPS Tools client - NUT
...xx.xxx EXECUTE on-battery > AT ONLINE ups at xxx.xxx.xxx.xxx EXECUTE ups-back-on-line > AT COMMBAD ups at xxx.xxx.xxx.xxx START-TIMER upsgone 75 > AT COMMOK ups at xxx.xxx.xxx.xxx CANCEL-TIMER upsgone Is your System Shutdown Plan to shut down using upsmon or using the script upsched-cmd? In upssched.conf you do not have a line AT LOWBATT ups at ... EXECUTE lowbatt and in upssched-cmd there is nothing to shut down the system. Have you tried typing the command "/sbin/shutdown -u -h +1" directly? Does this perform a shutdown? Roger
2019 Jun 09
0
How to shutdown macOS / mac OSX from Network UPS Tools client - NUT
...r and Charles for your responses. Simple question first > > Have you tried typing the command "/sbin/shutdown -u -h +1" directly? Does this perform a shutdown? Yes, it does shutdown the iMac. > > Is your System Shutdown Plan to shut down using upsmon or using the script upsched-cmd? This question undermines my reading of the documentation. I had thought that these were separate things: SHUTDOWNCMD "/sbin/shutdown -u -h +1" NOTIFYCMD /opt/local/sbin/upssched I had assumed that the SHUTDOWNCMD would be used by the Nut client (upsmon) to shutdown t...
2015 Jun 04
0
iMAC does not shutdown
...slog to see the rate of discharge when the UPS is on battery. If the charge is falling faster than you expect, the battery may be dead, or the UPS may need to be recalibrated. This may help with the previous question. > 4. I need to halt manually a linux based NAS via SSH. What is the best way (upsched or a script that parses battery.charge and takes decision independently from NUT). It depends what you want the trigger to be. You can use upssched to power down after a certain amount of time on battery, or when the low battery flag is sent. Either way, you will probably need to ensure that the...
2020 Sep 30
0
Question about hardware failures / FSD
...attach a list of the current NUT status changes. Of interest to you will be 16 and 17 since they introduce new status names. They are used by a heartbeat mechanism based on the dummy-ups driver. I suggest you introduce new status names and new status changes. These will be monitored by a upsmon+upsched+upssched-cmd setup extended to cover the new statuses. I suggest you choose generic names which can be used by others in the future. For example HW1, HW2, ... for the hardware error conditions with a correspondance table for your UPS in the documentation. Other drivers might have other correspo...
2006 May 16
1
Using upssched under Solaris
Hi, I'm attempting to use the UPS network tools. I'm sure I got the configurations worked out as I get notified when the ups goes on battery and back online. I am having problems with upssched. I have the following in my upssched.conf: CMDSCRIPT /usr/local/ups/sbin/upssched-cmd AT ONBATT * EXECUTE onbatt The problem I have is that is seems like the script in CMDSCRIPT never gets
2008 Nov 04
2
Variable use in upssched-cmd
...to thin out this code a little bit. Is there anyway to have UPSMON send a command such as a COMMBAD * and then have upssched-cmd pickup the upsname from the * and use it to send the approriate email. Example being a communication error happens on ec132 and sends a commbad * to upssched-cmd. I want upsched-cmd to then send the appriate email ?UPS EC132 has bad communications? when this happens. I want to do this using variables so that I only have to write the command out once for each event instead of for each event 12 times. Hopefully that made sense and pardon the length of the email Thanks...
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 it could be a stupid thing that I'm missing...
2020 Apr 23
0
Low battery unexpected shutdown
...> > So, indeed was in LowBattery and FSD shutdown, however note that the > current charge was 73% >> 20% low battery, so why it set LB when there were > enough battery to run? Is this a comm problem, device issue, driver ? > > So mainly my concerns questions are: > A) Can upsched introduce some race-conditions making a timer cancel cancel > other timers not related ? > B) May my UPS be faulting or just some USB driver issue? > > Any other hint, information or idea is welcomed. > > Regards > _______________________________________________ > Nut-upsu...
2015 Jun 04
2
iMAC does not shutdown
...t; is on battery. If the charge is falling faster than you expect, the battery > may be dead, or the UPS may need to be recalibrated. This may help with the > previous question. > Thanks for the hint > > 4. I need to halt manually a linux based NAS via SSH. What is the best way > (upsched or a script that parses battery.charge and takes decision > independently from NUT). > > > It depends what you want the trigger to be. You can use upssched to power > down after a certain amount of time on battery, or when the low battery > flag is sent. Either way, you will pro...