The SMTP test monitors the amount of time required to connect to the SMTP service on a mail server and perform a null transaction. It can provide a baseline for the time required to send an e-mail.
Options and Arguments
Note: IPv6 addresses can be used, but they must be embedded in brackets, for example [0aff::230:6eff:fe4b:51db]:8080. Here 0aff::230:6eff:fe4b:51db represents the IPv6 address and 8080 represents the port number.
SMTP tests require the following specific options and arguments:
Note: You must retype the password in the Verify Password field to verify that you have entered it correctly.
Specify these options and arguments when you create or modify tests.
Examples
This section includes examples of tests that monitor the amount of time required to send test emails from the mail server at mailserver.yourdomain to the account you@test.com.
Example 1: Testing email Send Time
Use this example to create a test that monitors the amount of time required to send a test email of 10,000 bytes from the mail server at mailserver.yourdomain to the account you@test.com every 60 seconds. The test waits up to 10 seconds for a successful response and calculates response time and availability statistics over the last 300 seconds (5 minutes).
To create a new test in a policy
The New test pane appears.
When you commit your changes, SRM adds an entry similar to the following to the svcrsp.cf file:
{ index=80 type=smtp desc="SMTP_Test" dest="mailserver.yourdomain.com:25" "username="SMTPuser" encoded=yes password:"c21o6BH12" args="to=you@test.com&size=10000&shost=silver&SSL=yes" interval=60 samples=1 timeout=10 window=300 tos=0 limit=0 status=active name="SMTP Email Send Test" class="" context="" flags="1" loglevel=1 }
Example 2: Testing email Send Time When Sender Host is an IPv6 Address
Use this example to create a test that monitors the amount of time required to send a test e-mail of 10,000 bytes from the mail server at mailserver.yourdomain to the account you@test.com every 60 seconds.
The sender host is an IPv6 address and the SMTP requires the IPv6 address be embedded in brackets. The IPV6: in [IPV6:address] is not mandatory, but the test will add it at runtime. The test waits up to 10 seconds for a successful response and calculates response time and availability statistics over the last 300 seconds (5 minutes).
To create a new test in a policy
The New test pane appears.
When you commit your changes, SRM adds an entry similar to the following to the svcrsp.cf file:
{ index=80 type=smtp desc="SMTP_Test_ipv6" dest="mailserver.yourdomain.com:25" "username="SMTPuser" encoded=yes password:"c21o6BH12" args="to=you@test.com&size=10000&shost=[IPV6:2000::36:543:2111]&SSL=yes" interval=60 samples=1 timeout=10 window=300 tos=0 limit=0 status=active name="IPv6 SMTP Email Send Test" class="" context="" flags="1" loglevel=1 }
For information about errors you may encounter when running SMTP tests, see SMTP Test Error Codes.
Copyright © 2013 CA. All rights reserved. |
|