Re: Notifies on CARP failover

2013-10-29 Thread Andy
Thanks for ideas and examples guys :) Cheers, Andy. On 24/10/13 14:18, Comète wrote: I use ifstated for that. This is my config file: init-state auto carp_up = "carp3.link.up && carp10.link.up && carp101.link.up && carp100.link.up && carp254.link.up && carp2.link.up && carp7.link.up && car

Re: Notifies on CARP failover

2013-10-24 Thread Dag Richards
Andy wrote: Hi, Could anyone point me in the right direction on how to have a script be executed whenever a CARP failover or preempt event occurs? Need to write a script to send an event message into our monitoring systems so we can see when a change has occurred. I haven't used ifstated y

Re: Notifies on CARP failover

2013-10-24 Thread Comète
I use ifstated for that. This is my config file: init-state auto carp_up = "carp3.link.up && carp10.link.up && carp101.link.up && carp100.link.up && carp254.link.up && carp2.link.up && carp7.link.up && carp4.link.up" carp_down = "carp3.link.down && carp10.link.down && carp101.link.down && c

Re: Notifies on CARP failover

2013-10-24 Thread Stuart Henderson
On 2013-10-24, Andy wrote: > Hi, > > Could anyone point me in the right direction on how to have a script be > executed whenever a CARP failover or preempt event occurs? > > Need to write a script to send an event message into our monitoring > systems so we can see when a change has occurred. >

Re: Notifies on CARP failover

2013-10-24 Thread Kārlis Miķelsons
Hello, Could anyone point me in the right direction on how to have a script be executed whenever a CARP failover or preempt event occurs? Need to write a script to send an event message into our monitoring systems so we can see when a change has occurred. I haven't used ifstated yet, is this t

Notifies on CARP failover

2013-10-24 Thread Andy
Hi, Could anyone point me in the right direction on how to have a script be executed whenever a CARP failover or preempt event occurs? Need to write a script to send an event message into our monitoring systems so we can see when a change has occurred. I haven't used ifstated yet, is this t