Hi David, I have send a message, I'm not very familiarized with this so I told you what I have done:
# mail root Subject: Test Message This is a test message. . Cc: [EMAIL PROTECTED] # _ Im logged as root but I don’t get any "You have mail" message. # mail No mail for root # _ Thanks, Felipe Aceitón -----Mensaje original----- De: LIMA David [mailto:[EMAIL PROTECTED] Enviado el: Tuesday, November 04, 2008 10:17 AM Para: Felipe Aceitón CC: jffnms-users@lists.sourceforge.net Asunto: Re: [jffnms-users] Email Notification, correct logs but not sending Hi Felipe, this should be good, are you sure that you can send e-mail from your JFFNMS host, using mailx program for example ? David LIMA Le mardi 04 novembre 2008 à 09:46 +0100, Felipe Aceitón a écrit : > Hi, > > > > I have configured the triggers and user profiles as told in the manual > but I’m not receiving the emails. I’m using JFFNMS 0.8.3 with Debian > 2.6.18-6-686 (Apache2 & PHP5). > > > > ACTION DEFINITION: > > > > 2 Send Mail email > from:nms,to:<profile-email>,subject:NMS > from:From,subject:Subject,comment:Comment > > > > TRIGGERS: > > > > 4 Company Interfaces Match Alarms > > > > TRIGGER RULES: > > > > 4 10 if Host is Equal to > OKI C5100 Company Office <blank> > <blank> Continue And > > > > 5 20 if Type is Equal to > Interface Protocol then send mail > From: [EMAIL PROTECTED] Stop trigger And > > > Subject: Test > > > Comment: Tests > > > > USER PROFILE: > > > > … > > eMail [EMAIL PROTECTED] > > … > > > > USER TRIGGERS: > > > > Company Interfaces X (Check as Active) > > > > > > > > I put on the debug option in the configuration and I get this in the > triggers log file after I unplug the network cable from the printer > (OKI C5100): > > > > 21:21:02 alarm 44: T 4 – P 10 – R 4 If ‘interface_host(6) = 6’ > (1) > > 21:21:02 alarm 44: T4 – P 20 – R 5 If ‘type(3) = 3’ (1) Then email > (1) Stop > > > > I think the trigger is trying to sent the email but I don’t know how > to debug the email sent. I create another user and add the Company > Interfaces trigger for him. Then I unplug the network cable again and > I have the same log entry but instead of the (1) after “Then email” I > have (1,1). > > > > Thanks In advance, > > > > Felipe Aceitón > > > > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ jffnms-users mailing list > jffnms-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jffnms-users ______________________________________________________________________ Ce message contient des informations dont le contenu est susceptible d'etre confidentiel. Il est destine au(x) destinataire(s) indique(s) exclusivement. A moins que vous ne fassiez partie de la liste des destinataires, ou que vous soyez habilite a recevoir le mail a leur place, il vous est interdit de le copier, de l'utiliser ou de devoiler son contenu a un tiers. Si vous avez recu cet email par erreur, merci de prendre contact avec l'emetteur. Les opinions exprimees dans cet e-mail sont celles de l'emetteur et ne refletent pas necessairement celles de l'entreprise. Ce e-mail peut contenir des pieces jointes dont certaines pourraient contenir des virus qui pourraient endommager votre systeme informatique. La compagnie a pris toutes dispositions afin de minimiser ce risque et decline toute responsabilite pour toute perte ou dommage resultant directement ou indirectement de l'utilisation de cet email ou de son contenu. Il vous appartient d'effectuer vos propres controles anti-virus avant d'ouvrir la ou les pieces jointes. ______________________________________________________________________ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ jffnms-users mailing list jffnms-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jffnms-users