I have two systems configured in VRRP, however the transition scripts do not run when the state changes from Master to Standby or back.
Config below:
set high-availability vrrp group wan_gateway advertise-interval '1'
set high-availability vrrp group wan_gateway authentication password 'pass'
set high-availability vrrp group wan_gateway authentication type 'ah'
set high-availability vrrp group wan_gateway health-check failure-count '3'
set high-availability vrrp group wan_gateway health-check interval '1'
set high-availability vrrp group wan_gateway health-check script '/config/scripts/vrrp/wan_gateway-check.sh'
set high-availability vrrp group wan_gateway hello-source-address 'fd00:f9a8:9a7e:3::234'
set high-availability vrrp group wan_gateway interface 'eth1'
set high-availability vrrp group wan_gateway preempt-delay '3'
set high-availability vrrp group wan_gateway priority '200'
set high-availability vrrp group wan_gateway transition-script backup '/config/scripts/vrrp/wan_gateway-fail.sh'
set high-availability vrrp group wan_gateway transition-script master '/config/scripts/vrrp/wan_gateway-master.sh'
set high-availability vrrp group wan_gateway virtual-address 'fe80::888/128'
set high-availability vrrp group wan_gateway vrid '1'
The check script seems to run per logs in messages, however when the state changes the scripted actions aren’t executed. When calling the scripts manually, the actions occur successfully which suggests to me that the lack of log activity when the state changes could be a bug.