Forum Discussion
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.