Skip to main content

No project description provided

Project description

# iTop CLI

Utility to interact with iTop

## Features

Usage: delete <class> <query> (--env=<env>|--config=<config>) export <class> [<query>] (--env=<env>|--config=<config>) import <class> --input=<input_file> [--search_keys=<search_keys>] (--env=<env>|--config=<config>) create <class> [FIELDS]... (--env=<env>|--config=<config>) -h | --help | --version

FIELDS Key value pairs. Ex : "description=Ceci est une description". If not overridden, the script will use the org_id of the config file

--env=<env> Will search ~/.itop/<venv>.json as configuration file
--search_keys=<search_keys> Key(s) to search objects, comma separated [default: name]

Examples: delete Person 'SELECT Person WHERE status="inactive"' --env=dev export SynchroDataSource --env=dev export Server "SELECT Server WHERE name LIKE 'SRVTEST'" --env=dev import SynchroDataSource --input=/tmp/out.json --search_keys=database_table_name create Server "name=SRVTEST" "description=Serveur de test" --env=dev

## Configuration file

"url": "",
"version": "1.3",
"user": "user",
"password": "password",
"org_name": "My org"

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for itop-cli, version 1.3.3
Filename, size File type Python version Upload date Hashes
Filename, size itop_cli-1.3.3.tar.gz (8.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page