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

FortiGate automation - Send email or telegram or WhatsApp notifications.

Hello,

I'm trying to create a notification when my internet link is down to send a message by e-mail, but I'm getting 3 e-mails with DOWN and UP status, would you have a tutorial I can see where I'm going wrong?

 

Another thing, would it be possible to send this by telegram or WhatsApp? I can't do it through teams because Microsoft is giving me an error in the apps.

 

I'll send a printout of my settings

 

Captura de tela 2024-07-25 091900.jpgCaptura de tela 2024-07-25 091940.jpgCaptura de tela 2024-07-25 092153.jpg

6 Solutions
AEK
SuperUser
SuperUser

Hi Marcos

I don't think you can send Telegram or WhatsApp message from FG, but I guess you can do it from your monitoring server, as it receives the related syslog message or snmp trap from FG.

AEK

View solution in original post

AEK
AEK

You may use the "status" field in the trigger to check if it matches the right value (I don't know what is the value to match).

https://docs.fortinet.com/document/fortiproxy/7.4.4/log-message-reference/20090/20090-log-id-intf-li...

Didn't test it but I think it should work.

AEK

View solution in original post

AEK
AEK

Then you may keep 20099. It also has "status" field.

https://docs.fortinet.com/document/fortigate/7.4.4/fortios-log-message-reference/20099/20099-log-id-...

As per my research, in your case the "status" field must match the string "DOWN" (in capital letters).

AEK

View solution in original post

AEK
Marcos_FDS1012

Of course, as I said, I receive 3 e-mails, two down and one up.

 

Captura de tela 2024-07-25 132929.pngCaptura de tela 2024-07-25 133032.pngCaptura de tela 2024-07-25 133121.pngCaptura de tela 2024-07-25 133150.png

View solution in original post

AEK

So can you try "up->down" instead, like suggested by dbhavsar below?

AEK

View solution in original post

AEK
carlos_campos

Hi All,

 

An update, I just tested and yes, it is possible to integrate Fortigate with WhatsApp business to send alerts.

 

Regards,

Carlos CA

View solution in original post

20 REPLIES 20
Marcos_FDS1012

Hello,

you say so? I use Event 20099 or 20090

 

Captura de tela 2024-07-25 104606.png

Announcements
Check out our Community Chatter Blog! Click here to get involved
Labels
Top Kudoed Authors