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@localhost read ups.status : OL CHRG )


Isn't it strange ONBATT / OL CHGR

root@greg:~# grep " ups" /var/log/syslog
Apr  8 10:07:33 greg upsmon[32507]: Onduleur UPS1@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@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
    [email protected]
    https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser

--
# admin linux only ;-)
_______________________________________________
Nut-upsuser mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to