SROS Command Line Interface Reference Guide
Network Monitor Probe Command Set
5991-2114
© Copyright 2007 Hewlett-Packard Development Company, L.P.
1336
expect status
<minimum> <maximum>
Use the
expect status
command to configure the probe to expect a specific status code in response to an
HTTP request message. If a different status code is returned, the probe fails. Use the
no
form of this
command to return to the default. Variations of this commands include:
expect status
<minimum>
expect status
<minimum> <maximum>
Syntax Description
<minimum>
Specifies a minimum number value for the status code. Valid range is 0 to 999.
<maximum>
Optional. Specifies a maximum number to create a range of status codes. Valid
range is 0 to 999.
Default Values
By default, there is no setting for this command.
Functional Notes
This command can only be executed while in the
probe
<name>
http-request
command set.
Specifying only a minimum value indicates only one value can match the status code. Entering a maximum
value indicates a range of possible matches.
Usage Examples
The following example configures
probe1
to expect a status code of
200
(the status of a successful HTTP
request):
ProCurve(config)#
probe probe1 http-request
ProCurve(config-probe-probe1)#
expect status 200
Содержание ProCurve Secure 7102dl
Страница 2: ......
Страница 3: ...SROS Command Line Interface Reference Guide Software Version J 08 03 September 2007 61195880L1 35H ...
Страница 1454: ......