"About" ph
TR>
|
basics
|
|
syntax
|
module ph {
[port <number>]
filter <string>
[response <string>]
}
|
Dependencies
Arguments
Name |
Type |
Value |
port |
optional number between 1 and 65535, default is 105 |
Port number on which PH server is listening.
|
filter |
string |
Search filter to use to elicit a response.
|
response |
optional string |
Exact string to be found as a line of output if a response is expected.
|
Description
The ph module uses the Net::PH Perl module to
perform a query in order to determine if the host being checked is
responding to PH requests.
Examples
- To look for at least one result for the search name "Smith" with
title "Programmer":
module ph {
filter name=Smith
response title=Programmer
}
- As above, but connecting to a server on port 8105:
module ph {
port 8105
filter name=Smith
response title=Programmer
}
- To issue a query with no expected response:
module ph {
filter name=zyxwv
}
$Date: 2006/11/19 21:13:33 $
$Revision: 0.4 $
|
keywords
filter
port
response
|