Hello Damien,
of course, the tnewpass was my copy error - newpass is OK and is in
config files everywhere.
And the carp interfaces' advskew, vhid and
pass are already in /etc/rc.conf.local.
What I simply would like to try is run scripts if carp interfaces change.
Actually my real aim is to
We're using ifstated to send nagios passive alerts in case a lagg or
carp's interface's state should become degraded.
Find below the config we're using:
carp_up = carp410.link.up carp13.link.up
carp_down = carp410.link.down carp13.link.down
carp_unknown = carp410.link.unknown ||
I have looked a bit into the ifstated.conf file and realized, that it
does not behave as I want.
So currently the setting is the following:
cat /usr/local/etc/ifstated.conf
init-state one
net = '( ifconfig -a -u |grep carp0 /dev/null every 3 ifconfig -a -u
|grep carp1 /dev/null every 3
Hello all,
I have configured devd and ifstated on a master FreeBSD server (slave
not changed so far) on which carp was configured with three
carp0,carp1 and carp2 virtual addresses.
When I as root do ifconfig carp0 down and up, the corresponding
testdown.sh and testup.sh
scripts are run (defined
Hello all,
I have configured devd and ifstated on a master FreeBSD server (slave
not changed so far) on which carp was configured with three
carp0,carp1 and carp2 virtual addresses.
When I as root do ifconfig carp0 down and up, the corresponding
testdown.sh and testup.sh
scripts are run (defined
On 2/1/12 12:12 PM, peter knezel wrote:
Hello all,
I have configured devd and ifstated on a master FreeBSD server (slave
not changed so far) on which carp was configured with three
carp0,carp1 and carp2 virtual addresses.
When I as root do ifconfig carp0 down and up, the corresponding