zenimpactimport

DESCRIPTION

zenimpactimport - Imports a GraphML file that contains Service Impact the service model definitions for a dynamic service; imports multiple subsequent calls to process new actions in order to reconcile a service model against the entities in Resource Manager.

The import process generates files that report the result of the import and recommend actions. The files follow the same format as the --action command line parameter. An action consists of an action keyword followed by parameters for that type of action. Actions and parameters are separated by white space, with each action on a separate line.

SYNTAX

zenimpactimport (IMPORT_FILE | IMPORT_ID | ACTION_FILE) ACTIONS* [TRANSACTION]

COMMANDS

--list-imports
Displays a list of existing imports and their status. Each import is uniquely identified by the combination of source and version.
Displays a list of adapters that are installed to parse and recognize export file content and structure. The “zenoss” adapter expects a Zenoss Service Impact service export file in graphml format.
IMPORT_FILE
Performs the initial import of a file in graphml format that generated and attempt to reconcile service model members with entities on the target Resource Manager system.
IMPORT_FILENAME
The file that contains the data in a format that the ADAPTER recognizes. The default file name is svc_export.graphml.
The name of an input adapter. Currently, only the default adapter for the Zenoss graphml export format is supported.
IMPORT_ID
--source SOURCE --import-version VERSION
Performs the import of the file that is specified by source and version. Each import file is uniquely identified by the combination of source and version. To display imports, issue the --list-imports command.
ACTION_FILE
(--actionFile | --reconcileFile) ACTION_FILENAME
Performs the import using data in the specified file.
ACTION_FILENAME
A text file that contains reconcile actions. If no ACTION_FILE is specified on the command line, file svc_export.graphml.file.latest.txt is used as input.
ACTIONS
--action ACTION
Provides a way to execute a single reconciliation action on the command line, rather than editing the input file or the parameter --actionFile. For more information about the actions, see Reconciling originating and target system entities.
CREATE NodeID
Creates the specified node on the target system.
DELETE NodeID
Deletes the specified node from the target system.
MAP NodeID TargetNodeID
Replaces the specified node on the originating system with the specified node on the target system.
IGNORE NodeID
Takes no action for the specified node.
UNRESOLVED NodeID
The specified node is referenced in the service model but it cannot be reconciled with a node on the target system.
TRANSACTION
-r svc_export.graphml--source SOURCE --import-version VERSION {--abort|--commit}
Reconcile, abort, or commit the import file that is specified by source and version. Committing makes all entries in the input file permanent and operational in the target system. Aborting destroys the import sandbox.