Re: [Nut-upsuser] Unable run command on notify events

2011-04-11 Thread GATINEAU, ANTOINE (ANTOINE)
: vendredi 8 avril 2011 16:05 À : nut-upsuser@lists.alioth.debian.org Objet : Re: [Nut-upsuser] Unable run command on notify events Citeren GATINEAU, ANTOINE (ANTOINE) antoine.gatin...@alcatel-lucent.com: I got it working. Aparently, the script is launched as the specified user but without

Re: [Nut-upsuser] Unable run command on notify events

2011-04-08 Thread GATINEAU, ANTOINE (ANTOINE)
] Unable run command on notify events Hi Arnaud, my answers below in the mail Antoine De : Arnaud Quette [mailto:aquette@gmail.com] Envoyé : jeudi 7 avril 2011 17:57 À : GATINEAU, ANTOINE (ANTOINE) Cc : nut-upsuser@lists.alioth.debian.org Objet : Re: [Nut

Re: [Nut-upsuser] Unable run command on notify events

2011-04-08 Thread GATINEAU, ANTOINE (ANTOINE)
way? Thanks for your help Arnaud. Antoine De : GATINEAU, ANTOINE (ANTOINE) Envoyé : vendredi 8 avril 2011 10:54 À : GATINEAU, ANTOINE (ANTOINE); Arnaud Quette Cc : nut-upsuser@lists.alioth.debian.org Objet : RE: [Nut-upsuser] Unable run command on notify events Hi

Re: [Nut-upsuser] Unable run command on notify events

2011-04-08 Thread Arjen de Korte
Citeren GATINEAU, ANTOINE (ANTOINE) antoine.gatin...@alcatel-lucent.com: I got it working. Aparently, the script is launched as the specified user but without the environment variables. To make it work, i have defined NOTIFYCMD as following : NOTIFYCMD /bin/bah -c 'source /etc/profile ;

[Nut-upsuser] Unable run command on notify events

2011-04-07 Thread GATINEAU, ANTOINE (ANTOINE)
Hello, I'm trying to integrate upsmon with my alarm management application. For that I wan't to use NOTIFYCMD from upsmon. I am having troubles making everything work together. I'm using nut version 2.4.3 I created a nutmon user and my script defined in NOTIFYCMD works perfectly when executed

Re: [Nut-upsuser] Unable run command on notify events

2011-04-07 Thread Arnaud Quette
Hi Antoine, 2011/4/7 GATINEAU, ANTOINE (ANTOINE) antoine.gatin...@alcatel-lucent.com Hello, I'm trying to integrate upsmon with my alarm management application. For that I wan't to use NOTIFYCMD from upsmon. I am having troubles making everything work together. I'm using nut version 2.4.3

Re: [Nut-upsuser] Unable run command on notify events

2011-04-07 Thread GATINEAU, ANTOINE (ANTOINE)
Hi Arnaud, my answers below in the mail Antoine De : Arnaud Quette [mailto:aquette@gmail.com] Envoyé : jeudi 7 avril 2011 17:57 À : GATINEAU, ANTOINE (ANTOINE) Cc : nut-upsuser@lists.alioth.debian.org Objet : Re: [Nut-upsuser] Unable run command on notify