CARP Status

Chris Marlatt cmarlatt at rxsec.com
Wed Sep 24 16:56:49 UTC 2008


Bob McClure wrote:
> I have several servers running CARP in an active/passive configuration.
> Currently the only way that my scripts can determine if a given node is
> master is by
> periodically executing ifconfig carp1 and grepping for MASTER. Although this
> works,
> it's kind of clunky.
> 
> Is there a better way to detect the CARP status of a server?
> 
> Thanks in advance.
> 
> Bob McClure
> _______________________________________________

If you don't mind recompiling net-snmp there are mibs which can be found
here: http://www.packetmischief.ca/openbsd/snmp/

They work fine with FreeBSD.

Regards,

	Chris


More information about the freebsd-cluster mailing list