eG CLI Commands for Accessing Raw Data Stored in eG Database
eG CLI supports the commands for performing database-related activities on the eG manager. Typically, the commands can be broadly classified as follows:
- Queries on the Test Table
- Queries on the Trend Table
- Queries on the Threshold Table
- Random 'select' queries on the eG database
- Queries on the State Table
Once you install the eG CLI, you will need to reboot the system on which the eG CLI is installed. This is required for the installation directory of the eG CLI to be in the system’s path. Otherwise, you will need to prepend <EGADMINCLI_DIR>\bin to the commands you want to execute.
Similarly, if you have built scripts into which the eG CLI commands have been bundled, then make sure that each command invocation in the script is pre-fixed by the full path to the command (i.e., <EGADMINCLI_DIR>\bin). To avoid this, you will have to reboot the eG CLI host after installation, and then proceed to write the scripts.
The eG CLI commands can support multi-byte characters - i.e., the component names and agent nick names used in the command line can include multi-byte characters. However, to enable the eG CLI to support multi-byte component names/nick names, you need to install and configure the eG CLI on a multi-byte operating system.