Skip to main content
The postcheck command helps capture critical node health states and metrics after the configuration process. You can run the command as shown in this example. The flags included after the precheck command are optional. See Flags for Command Execution for descriptions.
Shell
This table describes each placeholder in the DSN: The command invokes a script from the command line on operating systems supported by Ocient. The script sends output to standard output (STDOUT) and standard error (STDERR) with the option to send a text file or a JSON file. To specify the file option, use this flag: --logfile-location <directory> where <directory> is the directory where the postcheck command creates the log file. Before you begin, ensure that all steps in the Ocient System Bootstrapping process are complete.

Prerequisites

The script requires and the Ocient JDBC JAR to run. In most cases, you should use this script on client servers rather than database nodes. To get the post-check script onto a client, perform the scp operation on the wheel onto the server and run python3 -m pip install --no-index <path_to_wheel>/postcheck*.whl, and replace <path_to_wheel> with the path to the directory of the wheel file on your server.

Flags for Command Execution

Use the postcheck command to run the script that checks the system configuration after you configure Ocient. You can execute the command using these flags.

Command Output

The command has two types of output, silent or verbose, which you can specify by using the --print-level flag at the command line. Silent The silent value for the --print-level flag only produces a status code. The code is 0 for success, 1 for error, and 2 for warning. Verbose The verbose value for the --print-level flag prints either human-readable output by default or output in JSON format (if you specify the --json flag). The output contains all status details. This example shows human-readable output.
Text
This example shows output in JSON format.
JSON
Ocient System Bootstrapping Ocient Application Configuration
Last modified on May 20, 2026