Roger? Can your read me? The command from the command line works fine. "Perhaps an introductory book to Linux would help you." You?re right. I bought this great book "A la d?couverte du Raspberry Pi" by Matt Richardson (NUT monitoring is done on the RPI2 I recently bought). But I?m still a beginner (and an old one). 2016-06-14 15:51 GMT+02:00 Roger Price <roger at rogerprice.org>:> On Tue, 14 Jun 2016, Philippe Le Mesle wrote: > >> "essayer la commande /usr/bin/upssched-cmd upssms manuellement sans passer >> par NUT." L? je ne comprends pas (je d?bute en Linux). Comment puis-je >> ex?cuter cette commande , > > >> PS: pr?f?rez-vous que cet ?change soit en anglais ? > > > It is better to write in english on this list. Also, please reply to the > list, not to the writer. > > In the same way that you can execute directly commands such as "date", "w" > and "pwd", you can also execute "/usr/bin/upssched-cmd upssms" from the > command line. Try it! > > Perhaps an introductory book to Linux would help you. > > Roger > _______________________________________________ > Nut-upsuser mailing list > Nut-upsuser at lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser
On Tue, 14 Jun 2016, Philippe Le Mesle wrote:> Roger? Can your read me?I receive a single e-mail from you via the list. Remember that the mailing list very probably removes duplicates. If you do not receive a copy of your own messages to the list, check your options on the list administration page.> The command from the command line works fine.Then perhaps the way the UPS supplies power to other equipment is suspect. To check this, disconnect all the equipment connected to the UPS power outlets, leaving only the control line to the Linux box and the UPS input power cable. Connect all that gear to a permanent wall power socket so that it is always powered, even if the UPS is turned off. When everything is running again, pull the UPS power cord from the wall. If the Linux box sends you an SMS, then you know that the SMS's are being blocked by some other equipment problem as suggested earlier. Roger
On Tue, 14 Jun 2016, Philippe Le Mesle wrote:> I finally received a delayed SMS saying power was back.I'm guessing that your test action is to disconnect the building power from the UPS for a certain time and then re-connect. How long do you wait? Even when all the gear is permanently powered directly from the building and not the UPS, the command "upssched-cmd upssms" does not send an SMS when the UPS is disconnected from the wall socket, but does so correctly when the command is typed in directly. Have I understood correctly? If this is what is happening then the next thing to check is whether when the UPS is disconnected the value "upssms" is indeed received by upssched-cmd. Do you receive the notifications from upsmon correctly? Roger