I think ifstated is what you want to use. -- Composed on a phone. On Jan 13, 2012 2:07 AM, "PP;QQ P(P8P?P8QP8P=" <chipits...@gmail.com> wrote:
> Hello! > > > I'm running OpenBSD with CARP (and because of CARP), 10 servers in total. > Some of them preemt=1, some with preemt=0 > I'd like to know that spare CARP server is up and running (and will play it > part when master server die). > > questions are > > 1) how to detect that server is master? any other way except parsing > ifconfig output ? > > 2) how to detect whether carp peer is alive ? > > Cheers, > Ilya Shipitsin