Thank you for your answer, it works! However, I only get the email the first time a node is seen in PacketFence. Once the node is registered, I don't get a new mail if it gets the role again which should trigger the mail sending.
Do you have any ideas? Thanks a lot. ________________________________ De : Ludovic Zammit <lzam...@inverse.ca> Envoyé : mardi, 6 avril 2021 13:39 À : Heusler Marie-Cécile Cc : packetfence-users@lists.sourceforge.net Objet : Re: [PacketFence-users] Security event Hello Marie-Cécile, Actually, it’s my bad, I switch up the action. From: [cid:DD9B313E-3512-47CD-BCBE-9B54C61F94A0] To: mac = $mac, tid = MyRole, type = CUSTOM Where MyRole is your Custom event name in the Security event. Thanks, Ludovic Zammit lzam...@inverse.ca<mailto:lzam...@inverse.ca> :: +1.514.447.4918 (x145) :: www.inverse.ca<https://www.inverse.ca/> Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu<http://www.sogo.nu/>) and PacketFence (http://packetfence.org<http://packetfence.org/>) On Apr 6, 2021, at 2:16 AM, Heusler Marie-Cécile <marie-cecile.heus...@divtec.ch<mailto:marie-cecile.heus...@divtec.ch>> wrote: Hello, Thank your for your reply. However, it doesn't seem to be working at the moment. I tested SNMP in "alarms" and the test mail works. But when a node gets the role Vlan_1, nothing happens. Is there a file where I can find logs? What did I do wrong? Thank you for your answer. <pastedImage.png> <pastedImage.png> ________________________________ De : Ludovic Zammit <lzam...@inverse.ca<mailto:lzam...@inverse.ca>> Envoyé : lundi, 5 avril 2021 14:16 À : packetfence-users@lists.sourceforge.net<mailto:packetfence-users@lists.sourceforge.net> Cc : Heusler Marie-Cécile Objet : Re: [PacketFence-users] Security event Hello, Assuming you are using PacketFence v10.2. Create a VLAN filter like this: Then create a security event like this: Keep in mind that security events are primarily triggered by DHCP and RADIUS requests. I will advise you strongly to install the DHCP sensor if your production DHCP server is a Windows DHCP server: https://www.packetfence.org/doc/PacketFence_Installation_Guide.html#_microsoft_dhcp_sensor Thanks, Ludovic Zammit lzam...@inverse.ca<mailto:lzam...@inverse.ca> :: +1.514.447.4918 (x145) :: www.inverse.ca<https://www.inverse.ca/> Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu<http://www.sogo.nu/>) and PacketFence (http://packetfence.org<http://packetfence.org/>) On Mar 31, 2021, at 5:15 AM, Heusler Marie-Cécile via PacketFence-users <packetfence-users@lists.sourceforge.net<mailto:packetfence-users@lists.sourceforge.net>> wrote: Hello, I'm trying to create a custom security event that would send an email to someone when a node get a created role 'X'. The fact is that nothing is happening. I don't know where my mistake is. Can you please give me the process to realize that ? Thank you very much. _______________________________________________ PacketFence-users mailing list PacketFence-users@lists.sourceforge.net<mailto:PacketFence-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/packetfence-users <PastedGraphic-4.tiff><PastedGraphic-2.tiff><PastedGraphic-3.tiff>
_______________________________________________ PacketFence-users mailing list PacketFence-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/packetfence-users