The TFTP test monitors the amount of time required to read or write a file using the TFTP protocol.
Options and Arguments
TFTP tests require the following specific 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.
Note: The agent must have access to the file being written to the TFTP server, either locally or mounted.
Note: When you are specifying pathnames, be sure to use the correct type of slashes for the operating system on which the test will run. That is, use forward slashes (/) when you specify directories for tests that you intend to run on UNIX systems and backslashes (\) when you specify directories for tests that you intend to run on Windows systems.
Specify these options and arguments when you create or modify tests.
Example 1: Reading a File with TFTP
Use this example to create a test that monitors the amount of time required to read a file through the TFTP service at tftpserver.yourdomain. This example tests the server once every 30 seconds and waits up to 10 seconds for a successful response. It calculates response time and availability statistics over the last 120 seconds (2 minutes).
To create a new test in a policy
The New test pane appears.
When you perform a commit/sync of the test, SRM adds an entry similar to the following to the svcrsp.cf file:
{ index=11 type=tftp desc="tftpserver.read" dest="tftpserver@yourdomain.com:69" args="op=r&path=I:\SA\TFTP\get.txt" interval=30 samples=1 timeout=10 window=120 tos=0 limit=0 status=active name="TFTP Reading File Test" class="" context="" flags="1" loglevel=1 }
Example 2: Writing a File with TFTP
Use this example to create a test that monitors the amount of time required to write a file through the TFTP service at tftpserver.yourdomain. This example tests the server once every 30 seconds and waits up to 10 seconds for a successful response. It calculates response time and availability statistics over the last 120 seconds (2 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=22 type=tftp desc="tftpserver_write" dest="tftpserver.yourdomain.com:69" args="op=w&path=I:\SA\TFTP\put.txt" interval=30 samples=1 timeout=10 window=120 tos=0 status=active name="TFTP Writing File Test" class="" context="" flags="1" loglevel=1 }
For information about errors you may encounter when running TFTP tests, see TFTP Test Error Codes.
Copyright © 2013 CA. All rights reserved. |
|