Using the ILux Server API

Using the API Through a Telnet Client

To use the ILux API, you must first establish a Telnet connection with the ILux server. By default, ILux listens for API connections on port 1600. Assuming the ILux server was installed on machine host1.yourdomain.com, from the client command line you would enter the command:

telnet host1 1600

Once the connection is established, ILux replies with a message indicating successful connection:

220 host1.yourdomain.com [205.187.9.49] ILux Log Reporting Service (ILuxd Version 3.01 Build 498 Oct 15 1997 05:10:27 PDT) ready.
[EOR]

The [EOR] stands for End Of Response. It always follows any message or command results sent back to the Telnet client. At this point, ILux is accepting commands, and you can enter any API command. Each command must be entered on a single line and followed by a line feed. You may wish to configure your Telnet client to echo local commands so you can see the commands being entered.

To terminate the connection to the ILux server, enter the command QUIT.

Using a Script Right

Related Topics