survivor: Rtsp Check Module

SURVIVOR: `rtsp` Check Module
About `rtsp` Dependencies Arguments Description Examples
About `rtsp`
basics |
Module Type | Scheduler | Remote
check | Yes | No
syntax |
         module rtsp {
           [scheme <string>]
           [hostname <string>]
           [port <number>]
           path <string>
         }
### Dependencies Perl Modules `URI`(>=1.20) ### Arguments
Name | Type | Value
scheme | optional string, either 'rtsp' or 'rtspu', default is 'rtsp' | RTSP scheme to use.
hostname | optional string | Virtual hostname to use, if different from non-virtual hostname.
port | optional number, default 554 | Port number to use.
path | string | Path part of RTSP URL to be checked.
1. ### Description The `rtsp` module attempts to verify the correct operation of an RFC 2326 Real Time Streaming Protocol (RTSP) server. Examples of this type of server include RealNetworks' Helix Universal Server and Apple's QuickTime Streaming Server. The module performs an RTSP OPTIONS operation and an RTSP DESCRIBE operation in order to determine if the RTSP server being contacted is returning expected results. The module associates each operation with a sequence number and checks that the server returns the correct sequence number for each operation. The module return value is determined as follows: If the RTSP response code is 200, `MODEXEC_OK` is returned. If the RTSP response code is class 1xx or 3xx, `MODEXEC_NOTICE` is returned. If the RTSP response code is class 4xx or 5xx, `MODEXEC_PROBLEM` is returned. If the response code is not recognized, `MODEXEC_WARNING` is returned. ### Examples To look for the file `/media/video.smi`:
            module rtsp {
              path /media/video.smi
            }
2. To look for the file `/media/video.smi` from a virtual server:
            module rtsp {
              path /media/video.smi
              hostname media.rtsp.edu
            }
$Date: 2006/11/19 21:30:16 $ $Revision: 0.7 $ | keywords hostname path port scheme