cpmiquerybin
Description
The cpmiquerybin utility connects to a specified database, runs a user-defined query and shows the query results.
The results can be a collection of Security Gateway
Dedicated Check Point server that runs Check Point software to inspect traffic and enforce Security Policies for connected network resources. sets or a tab-delimited list of specified fields from each retrieved object.
The default database of the query tool is based on the shell environment settings.
To connect to a Domain Management Server
Check Point Single-Domain Security Management Server or a Multi-Domain Security Management Server. database, run mdsenv and define the necessary environment variables.
Use the Domain Management Server
Virtual Security Management Server that manages Security Gateways for one Domain, as part of a Multi-Domain Security Management environment. Acronym: DMS. name or IP address as the first parameter.
|
|
Notes:
|
Syntax
|
|
Parameters
|
Parameter |
Description |
|---|---|
|
|
Query result in one of these formats:
|
|
|
Name of the database file in quotes. For example, Use empty double quotes |
|
|
Name of the database table that contains the data. |
|
|
One or more query strings in a comma separated list. Use empty double quotes You can use the asterisk character (*) as a wildcard replacement for one or more matching characters in your query string. |
|
|
If you use the " You can return all object names with the special string: |
Return Values
-
0 - Query returns data successfully
-
1 - Query does not return data or there is a query syntax error
Example - Viewing the names of the currently defined network objects