Forum Discussion
marshje_58292
Nimbostratus
Dec 11, 2007UDP Health Monitoring with fixed SOURCE port?
Is is possible to configure LTM to use a fixed SOURCE port number when doing UDP health monitoring?
I have a UDP application that I am Load Balancing that does not normally "respond" as such...
JRahm
Admin
Dec 12, 2007The external monitor is a script running on the LTM, called by the external monitor configured to your pool. I suppose with receive-only traffic you will have to be careful with your interval and timeout settings. This script should get you started:
!/usr/bin/perl
use strict;
use warnings;
use IO::Socket::INET;
my $port = getservbyname 'bootps', 'udp';
my $socket = IO::Socket::INET -> new (LocalPort => $port,
Broadcast => 1,
Proto => 'udp')
or die "Failed to bind to socket: $@";
my $mess;
while ($socket -> recv ($mess, 1024)) {
print "Saw a bootp request.\n";
}
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects