[Nut-upsuser] wrong NOTIFYTYPE always ONBATT on upssched TIMER ?

RemiG mailing-nut at dbmtechnologies.com
Tue Apr 8 09:59:08 BST 2025


Hi for all

an other one with same wrong NOTIFYTYPE (my supposition) (ups.mfr: 
EATON, ups.model: Ellipse PRO 1600)

upsmon says NOTIFYTYPE = ONBATT

upssched create a time associated to this Event => BATT-STATUS-5 (but 
Power return before 5 minutes ;-) so ... )
upsmon says NOTIFYTYPE = ONLINE

upssched.conf delete this Event => BATT-STATUS-5, BATT-STATUS-10

upssched create a TIMER associated to this Event => LINE-STATUS-5 and so on

and after all other timers created by ONLINE => LINE-STATUS-5, 
LINE-STATUS-10

sent ENV var NOTIFYTYPE to /bin/upssched-cmd bash script  => ONBATT (but 
upsc UPS at localhost read ups.status : OL CHRG )


Isn't it strange ONBATT / OL CHGR

root at greg:~# grep " ups" /var/log/syslog
Apr  8 10:07:33 greg upsmon[32507]: Onduleur UPS1 at localhost en mode 
Secours sur batterie
Apr  8 10:07:33 greg upssched[17464]: Executing command: ONBATT
Apr  8 10:07:34 greg upssched-cmd-received-NOTIFYTYPE: ONBATT
Apr  8 10:07:34 greg upssched-cmd-read-Upsc_ups_status: OB DISCHRG
Apr  8 10:07:34 greg upssched[17497]: Timer daemon started
Apr  8 10:07:34 greg upssched[17497]: New timer: BATT-STATUS-5 (300 
seconds)
Apr  8 10:07:34 greg upssched[17497]: New timer: BATT-STATUS-10 (600 
seconds)
Apr  8 10:08:03 greg upsmon[32507]: Onduleur UPS1 at localhost en mode 
Secteur : recharge batterie en cours
Apr  8 10:08:03 greg upssched[17516]: Executing command: ONLINE
Apr  8 10:08:03 greg upssched-cmd-received-NOTIFYTYPE: ONLINE
Apr  8 10:08:03 greg upssched-cmd-read-Upsc_ups_status: OL CHRG
Apr  8 10:08:04 greg upssched[17497]: Cancelling timer: BATT-STATUS-5
Apr  8 10:08:04 greg upssched[17497]: Cancelling timer: BATT-STATUS-10
Apr  8 10:08:04 greg upssched[17497]: New timer: LINE-STATUS-5 (300 
seconds)
Apr  8 10:08:04 greg upssched[17497]: New timer: LINE-STATUS-10 (600 
seconds)
Apr  8 10:13:04 greg upssched[17497]: Event: LINE-STATUS-5
Apr  8 10:13:04 greg upssched-cmd-received-NOTIFYTYPE: ONBATT
Apr  8 10:13:04 greg upssched-cmd-read-Upsc_ups_status: OL CHRG
Apr  8 10:18:04 greg upssched[17497]: Event: LINE-STATUS-10
Apr  8 10:18:05 greg upssched-cmd-received-NOTIFYTYPE: ONBATT
Apr  8 10:18:05 greg upssched-cmd-read-Upsc_ups_status: OL CHRG
-- 

>     # admin linux only ;-)
>
>     _______________________________________________
>     Nut-upsuser mailing list
>     Nut-upsuser at alioth-lists.debian.net
>     https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser
>
-- 
# admin linux only ;-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20250408/7d3abc6a/attachment.htm>


More information about the Nut-upsuser mailing list