Displaying 5 results from an estimated 5 matches for "upssms".
2016 Jun 14
5
Besoin d’aide pour upssched
...ystem is being shutdown!"
NOTIFYFLAG ONLINE SYSLOG+EXEC
NOTIFYFLAG ONBATT SYSLOG+EXEC
NOTIFYFLAG SHUTDOWN SYSLOG+EXEC
2/ dans /etc/nut/upssched.conf
CMDSCRIPT /usr/bin/upssched-cmd
PIPEFN /var/run/nut/upssched/upssched.pipe
LOCKFN /var/run/nut/upssched/upssched.lock
AT ONBATT * START-TIMER upssms 30
AT ONLINE * CANCEL-TIMER upssms
AT ONBATT * START-TIMER upsgone 150
AT ONLINE * CANCEL-TIMER upsgone
AT ONBATT * EXECUTE upssms
AT ONLINE * EXECUTE ups-back-on-power
3/ le script /usr/bin/upssched-cmd
#!/bin/bash
case $1 in
upssms)
logger -t upssched-cmd "The UPS has been gone for 30 sec...
2016 Jun 14
2
Besoin d’aide pour upssched
...tt
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 t...
2016 Jun 14
0
Besoin d’aide pour upssched
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....
2016 Jun 14
0
Besoin d’aide pour upssched
...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"...
2016 Jun 14
1
Besoin d’aide pour upssched
...: nginx
< Date: Tue, 14 Jun 2016 15:25:00 GMT
< Transfer-Encoding: chunked
< Connection: keep-alive
<
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 t...