Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Sep 2005 17:45:09 +0800
From:      "Ivan R. Sy Jr." <isy@infoweapons.com>
To:        freebsd-pf@freebsd.org
Subject:   CARP state and run this scrip
Message-ID:  <432E88A5.5000803@infoweapons.com>

next in thread | raw e-mail | index | archive | help
hi all.

i was playing with ports/net/ifstated and somehow its not working.
i would be needing a daemon. that monitors the state of CARP and execute 
a script if the carp's state would be master or slave.

example /usr/local/etc/ifstated.conf

state master {
	init {
	run "echo 'master'"
	}
}

state backup {
	init {
	run "echo 'slave'"
	}
}


is there any chance someone have done such daemon? thanks!





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?432E88A5.5000803>