Object Repository action commands that you can run from the CLI
Actions can be used with the objects that are returned from a query or imported from a JSON file previously exported (see --import-objects
).
The most basic of the actions is to simply out the objects with --action-show
. You can select to include host information for agents, oids and references.
The other commands listed in the table below perform similar functionality to that available in the Object Repository tab.
Command | Description |
---|---|
| Import objects from JSON file. |
| Indicates objects imported or queried are confirmed. This option is not recommended and the agent extensions should be allowed to confirm objects exist. |
| Export queried objects to JSON file. |
| Object count of objects imported or queried. |
| Add the specified objects imported or queried. |
| Deletes the objects imported or queried. Deleted objects can be removed on next dbschema_sync execution when services are inactive. |
| Deprecate the objects imported or queried. |
| Indicates objects imported or queried are not-found if the object has not been confirmed to exist in the period of time specified. Best used with --query-objects or --query-path-prefix. This option is usually not needed as the agent extensions mark objects not found when they are removed from the monitored technology. |
| Register for monitoring objects imported or queried. |
| Unregister for monitoring objects imported or queried. |
| Show queried or imported objects. Additional information can be output with --show-host-info, --show-oid or --show-ref. |
| Show host information when used with --action-show. |
| Show object identifier when used with --action-show. |
--show-ref | Show object references when used with --action-show. |
Comments
Log in or register to comment.