Skip to main content

Set of command line tools used to interact with Control-M.

Project description

Description

pyctlmbatchtoolbox is command line wrapper around Control-M REST API. The goal is to provide a developer friendly command line tool easy to integrate with other tools.

Install

pip install pyctlmbatchtoolbox --upgrade

SRE toolbox included

Most of the tools include list/add/delete operations.

Tools included:

  • batch_condition
  • batch_conditionprofile
  • batch_deploy
  • batch_hostgroup
  • batch_logs
  • batch_status
  • batch_token
  • batch_order
export CTM_USER=user
export CTM_PASS=***
export CTM_REST_API=https://<<controlm server instance>>:8443/automation-api
export CTM_BATCH_LOG_LEVEL=INFO

batch_order --controlm-server CTMSERVER --folder folder  
batch_logs --jobname JOBID 
batch_logs  --jobname JOBID
batch_condition --action GET --search-criteria 'name=*&server=CTMSERVER' 
batch_hostgroup --controlm-server CTMSERVER 
batch_hostgroup --controlm-server CTMSERVER --hostgroup HOSTGROUP1

Project details


Download files

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

Source Distribution

pyctlmbatchtoolbox-0.0.3.tar.gz (12.9 kB view hashes)

Uploaded Source

Built Distribution

pyctlmbatchtoolbox-0.0.3-py3-none-any.whl (21.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page