SROS Command Line Interface Reference Guide
Network Monitor Probe Command Set
5991-2114
© Copyright 2007 Hewlett-Packard Development Company, L.P.
1338
raw-string
Use the
raw-string
command to enter text to appear in the data portion of an HTTP request. Refer to
on page 1438 for more details on the output text. Use the
no
form of this command to disable
this feature.
Syntax Description
No subcommands.
Default Values
There is no default value for this command.
Functional Notes
This command can only be executed while in the
probe
<name>
http-request
command set. The type
should be set to RAW. Refer to
on page 1346 for more information.
The following system variables can be used in the text:
$SYSTEM_NAME = The host name of the system.
$SYSTEM_SERIAL_NUMBER = The serial number of the system.
$SYSTEM_DESCRIPTION = The product name and part number of the system.
$SYSTEM_SOFTWARE_VERSION = The firmware version of the system.
Usage Examples
The following example configures a RAW HTTP request that attempts to access
update.php
on the web
server. This command could be useful if the server administrator creates a PHP script which logs network
connectivity information. Additional information (the router name and its uptime) placed after
update.php
is sent to the HTTP server.
ProCurve(config)#
probe probe1 http-request
ProCurve(config-probe-probe1)#
raw-string
GET /update.php?hostname=$SYSTEM_NAME&uptime=$SYSTEM_UPTIME HTTP/1.0
\r\n
\r\n
exit
Содержание ProCurve Secure 7102dl
Страница 2: ......
Страница 3: ...SROS Command Line Interface Reference Guide Software Version J 08 03 September 2007 61195880L1 35H ...
Страница 1454: ......