Allow overriding latencylow, latencyhigh, losslow and losshigh by seting config['gateways']['settings'] which is also available in 2.0
work around perms issue with filter reloads, and issue where filter reloads before apinger status is marked as down
Ensure process is running before killing
Revert "Allow setting of LB Server mode"
This reverts commit c5dfeaf6c31999688034c22b4fcb56477f0b9bd7.
Allow setting of LB Server mode
Remove RRD options from the apinger configuration.They do not make any sense to generate since they are not used anywhere in 1.2
Oh dear, looks like I had the values for loss and latency reversed.That is not very useful.
Make the apinger rrd files end up in /tmp so they are not seen by theweb ui.
Change the warning threshold for the apinger delay warning from 100 to 200 ms.
Backport apinger from 2.0 to 1.2This removes the gateway support from the slbd load balancer. It will now create a apinger configuration instead.Change syslog configuration so apinger logs to the slbd.logCorrect status page so that it shows the gateway status....
Honor monitor type for server load balancing
Patches from smos@
Remove newlines at end of files
Send output into mwexec function
Mute killall commands
Correct is_array() check.
Make sure all 3 branches are the same.
Suggested-by: Bill M
Check for array type before foreach()
Reminded-by: Ryan Wagoner/Seth Mos
Do not foreach through an item that does not exist
Unlink pool file only if it exists
Remove load balancer pool status file when we reconfigure a pool.
Sleep for 2 seconds between restarting slbd
Handle a very unique edge case when using load balancing plus a dhcp wan. If the DHCP wan goes down, then when we add back the route freebsd will simply prefer the working wan.
This code is tested for outbound load balancing on a carp cluster and...
backout last commit
Reload filter on boot.
MFC 11474kill slbd if there are no pools or virtual servers
MFC ougoing lb monitoring fixes
Counter from 1, not 0. Slbd no likie.
MFC from head.Atleast the code that I wrote prior was pretty much the same.
Commit updated file for inspection
Add ping support. Not tested, not mother approved.
We're in 2006 now, toto
Add round-robin method
Ticket #626
Woops! Use correct field.
Add and honour sitedown slbd field
Only iterate through item if its an array
Allow SLBD to start.
add poolname
$Id -> $Id$
missing paren
only start slbd if we have a load balancer array w/ pools
Change polling interval
Tie load balance front end into the slbd daemon