cancel
Showing results for 
Search instead for 
Did you mean: 

Send email when failover ocurrs

Mario_Andres_Fr
Nimbostratus
Nimbostratus

I want to implement a Script to send an email or SMS when a failover ocurrs, I have checked it and I think the best option is create it based on this command 

  • egrep -i 'cmd_sod go standby|sys failover standby' /var/log/audit

But I wondering if there is a better option, maybe some name in the alert field in /config/user_alert.conf or a script with icall.

3 REPLIES 3

DenisG
F5 Employee
F5 Employee

See here - the/config/user_alert.conf wil be used. https://community.f5.com/t5/technical-forum/email-alerts-for-failover/td-p/67103

 

Millie
Altostratus
Altostratus

We have a few servers in a High  and need to configure email notification for any failover that happens on the server.

Hello,

So you mean not the F5 but the servers/Pool Members? Better provide more info so that to get more precise answers . For add node monitor and when the servers go down there will be an alarm in /var/log/ltm and as @DenisG has said then just configure the alarms for nodes being marked down.

https://support.f5.com/csp/article/K73569034

https://support.f5.com/csp/article/K59616664