Forum Discussion

Mario_Andres_Fr's avatar
Mario_Andres_Fr
Icon for Nimbostratus rankNimbostratus
Aug 17, 2022

Send email when failover ocurrs

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.