Forum Discussion
dsirrine_23403
Feb 07, 2011Nimbostratus
Custom monitor for SMTP servers
I have dug through some of the forums and have yet to find the solution I'm looking for. I have a set of load balanced SMTP servers in my LTM with version 9.3.1 software installed. I have the SMTP h...
dsirrine_23403
Feb 23, 2011Nimbostratus
I think I can do this with the send/expect. However, how can I set a variable to be the IP of the node that is running the check. For instance, I have two SMTP servers in my LTM, I create the expect to be something like the following:
send telnet 25
expect 220
send ehlo
expect 250
send mail from:
expect 250
send rcpt to:
expect 250
send DATA
expect 354
send Test
send .
expect 250
Essentially, I want my F5 to disable the node if it gets anything but a 250 or 354 at any point in this session.
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