survivor: Ph Check Module

SURVIVOR: `ph` Check Module
About `ph` Dependencies Arguments Description Examples
"About" `ph` TR>
basics |
Module Type | Scheduler | Remote
check | Yes | No
syntax |
         module ph {
           [port <number>]
           filter <string>
           [response <string>]
         }
### Dependencies Perl Modules `Net::PH` ### 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.
1. ### 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
            }
2. As above, but connecting to a server on port 8105:
            module ph {
              port 8105
              filter name=Smith
              response title=Programmer
            }
3. 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