Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
wanzu
New Contributor

Custom Email Notifications

Hello Team

Am inquiring if any user has been able to set custom  email notifications for the fortinac like  Authentication failures or a connected device  instead of using the default email .

#Fortinac Email notifications

1 Solution
ebilcari

There is a link on the previous reply referring to this article, you can also check this one.

- Emirjon
If you have found a solution, please like and accept it to make it easily accessible for others.

View solution in original post

9 REPLIES 9
AEK
SuperUser
SuperUser

AEK
wanzu
New Contributor

Hello AEK 

I was referring to the notifications from events and alarm's not the portal ones 

ebilcari
Staff
Staff

If you are referring to 'Event to Alarm Mapping' than the email template is built-in in the system. I'm not aware of any options to personalize it's content. You can explore the options with a Custom Script which gives more flexibility:

mapping.PNG

- Emirjon
If you have found a solution, please like and accept it to make it easily accessible for others.
wanzu
New Contributor

Hello ebilcari

Yes am  referring to these alerts take an  example of the alert below , how can i customize it  Alert sample.PNG 

wanzu
New Contributor

And where are they located if am to use a script FortiNAC  

ebilcari

There is a link on the previous reply referring to this article, you can also check this one.

- Emirjon
If you have found a solution, please like and accept it to make it easily accessible for others.
ebilcari

There is also a predefined command to test the email that can be used in the script:

 

sendemail
Usage: send-test-email [-file=<fileName>] -message=<message> -subject=<subject>
-to=<mailTo>
Send a Test email to verify Email server config
-file=<fileName> File to attach to test email
-message=<message> Message to be used in the test email ex: This is a
mail test
-subject=<subject> Subject to be used in the test email ex: mail test
-to=<mailTo> Email To address ex: user@mail.com

- Emirjon
If you have found a solution, please like and accept it to make it easily accessible for others.
wanzu
New Contributor

Hello @ebilcari  much appreprication for the  guidance  so far, am  inquiring  where is the location of these alarms in the fortinac itself , i have not configured the syslog server , i need to capture the alarm as it being generated or after being generated and then modify the contents before sending the email.

Alarms generated.PNG

ebilcari

Firstly you need to create a 'Mappings' to tie the event and the call of the custom script. The script can parse the event data, modify the content and than send the email. I will try to create a specific script and maybe publish it as an article in the next days.

 

send custom script.PNG

- Emirjon
If you have found a solution, please like and accept it to make it easily accessible for others.
Announcements
Check out our Community Chatter Blog! Click here to get involved
Labels
Top Kudoed Authors