
Section 10.0 RMLSend
RMLSend is a small utility that can be used to send RML commands to a local or remote
Rivendell host. It can operate in two modes: GUI or a command line interface (CLI).
If started with no arguments, RMLSend will come up in GUI mode (see Illustration 65).
The Sent To: should have the name or IP address of the system to which to send the RML.
Dest: controls the method by which the command will be sent. 'RML' is standard RML
transmission that returns an echo code to indicate success/failure. 'RML (No echo)' does
not return an echo code, while 'Set Port' allows the destination UDP port to be set (useful
for controlling Rivendell from outside firewalls). Command: is the RML command to be
sent, and Response: will show any echo code returned from the remote system (or 'No
response' if no reply is received). Touching the Send Command button actually sends the
command.
RMLSend also has a full-featured command-line facility that allows Rivendell commands
to be sent using the standard Linux CLI utilities. The command-line syntax is:
rmlsend [--to-host=<hostname>] [--to-port=<port>] [<rml>|--from-file=<file>]
Where:
<hostname> name or IP address of the host to send the command to
<port> UDP port to to send the message to
<rml> any valid RML code
<file> name of a file containing valid RML code. If '-' is specified as <file>, then
rmlsend will read the list of RML commands to be sent from standard
input.
When specifying RML code on the command line, it will likely be necessary to escape
any special characters (such as spaces or bang [!] characters) to protect them from the
shell.
Illustration 65: RMLSend in GUI Mode
Comentários a estes Manuais