VRRP script for notifying interface change

Hi all,

I’ve been looking for a script to use on our VRRP interfaces to inform us that is has changed from master to slave and so on.

Does anyone have an example ?