GetHostTable

Returns information contained in the In-Sight Host Table dialog. For more information, see Host Table Dialog.

GetHostTable Inputs

Syntax: EV GetHostTable()

GetHostTable Outputs

Returns a status code, followed by the number of characters (in bytes) for the results, then the results in XML format. The status codes are:

Status Codes Description
1 The command was executed successfully.
0 Unrecognized command.
-2 The command could not be executed.
-6 User does not have Full Access to execute the command. For more information, see User Access Settings Dialog.

GetHostTable Example

To retrieve the information contained in the In-Sight Host Table dialog, issue the following command: EV GetHostTable()

Note: Count, in the first XML tag, represents the number of hosts in the Host Table.

The In-Sight sensor responds with a status code (1), followed by the number of characters, in bytes (464). Finally, the information configured in the In-Sight Host Table dialog is returned.