Command Line Reference Guide

Force10 Service Agent | 501
This example shows a couple other keyword configuration examples.
FTOS(conf-call-home-testlist-test)# test-condition interface-rate input 1
less-than number 98
FTOS(conf-call-home-testlist-test)# test-condition memory-used not-equal-to
number 1000
Related
Commands
test-condition message-text (deprecated)
c e
Configure a search for a stated value in the output of the designated show command or message type
— syslog or other error messages, sent to the console, trap, or message logged locally. This applies
only to messages logged by FTOS.
Syntax
test-condition message-text command string equal-to string string
Parameters
Defaults
none
Command Modes
conf-callhome-testlist-test
Command
History
Usage
Information
In the following example:
The search string can be used for both “display xml” and normal “show command” output.
The search string is <ifAdminStatus>down</ifAdminStatus>.
Note that the search target, in this example, is enclosed within double quotes. If either string contains
spaces, it must be enclosed in quotes or it will be truncated at the first whitespace.
The search string is compared against an entire text message, so a short string, such as the number zero,
is likely to produce many unintended matches. Therefore, the search string should be as long as
possible to guarantee as close a match as possible to the data that you want to match. However, the
maximum length of a string is 64 characters.
dampen Set a delay before sampling for a test condition again after it has been matched.
test-limit Set the number of times that the test list that should be executed.
test-condition (comparing
samples)
Collect multiple samples of a statistic and compare them using the specified
comparator and hurdle value.
test-condition
message-text (deprecated)
Search for a stated value in the output of the designated
show command or
message type.
test-condition
message-text
command
string
Enter the keywords test-condition message-text command, and then for
string, enter a show command in quotes.
Range: 1–64 characters
equal-to string string Enter the keywords equal-to string, and then for string, enter the text to
search for in the show command designated above.
Range: 1–64 characters
Version 8.2.1.0 Deprecated.
Version 7.8.1.0 Introduced on C-Series and E-Series