Skip to main content

Control-M Rest API

Pack Assets


The Centreon Pack Control-M Rest API brings a host template:

  • App-Controlm-Restapi-custom

It brings the following service template:

Service AliasService TemplateService DescriptionDefaultDiscovery
JobsApp-Controlm-Restapi-JobsCheck jobsX

Discovery rules

Rule NameDescription
App-Controlm-Restapi-Job-NameDiscover jobs and monitor status

More information about discovering services automatically is available on the dedicated page and in the following chapter.

Collected metrics & status

Metric NameUnit
job status


To monitor, a user with read privileges on the Control-M Automation API is required.


Monitoring Pack

If the platform uses an online license, you can skip the package installation instruction below as it is not required to have the pack displayed within the Configuration > Monitoring Connector Manager menu. If the platform uses an offline license, install the package on the central server with the command corresponding to the operating system's package manager:

dnf install centreon-pack-applications-controlm-restapi

Whatever the license type (online or offline), install the Control-M Rest API Pack through the Configuration > Monitoring Connector Manager menu.


Since Centreon 22.04, you can benefit from the 'Automatic plugin installation' feature. When this feature is enabled, you can skip the installation part below.

You still have to manually install the plugin on the poller(s) when:

  • Automatic plugin installation is turned off
  • You want to run a discovery job from a poller that doesn't monitor any resource of this kind yet

More information in the Installing the plugin section.

Use the commands below according to your operating system's package manager:

dnf install centreon-plugin-Applications-Controlm-Restapi



  • Log into Centreon and add a new host through Configuration > Hosts.
  • Fill the Name, Alias & IP Address/DNS fields according to your Control-M server settings.
  • Apply the App-Controlm-Restapi-custom template to the host.
  • Once the template is applied, fill in the corresponding macros. Some macros are mandatory.
CONTROLMAPIPORT(Default: '8443')

How to check in the CLI that the configuration is OK and what are the main options for?

Once the plugin is installed, log into your Centreon poller's CLI using the centreon-engine user account (su - centreon-engine) and test the plugin by running the following command:

/usr/lib/centreon/plugins/ \
--plugin=apps::controlm::restapi::plugin \
--mode=jobs \
--hostname='' \
--port='8443' \
--proto='https' \
--api-username='myuser' \
--api-password='mypass' \
--filter-name='P2TLNBUS20|P2TLNBUS203' \

The expected command output is shown below:

OK: Number of jobs succeeded: 5, errors: 0, jobs-executing : skipped (no value(s)), waiting: 0 - All jobs are ok | 'jobs.succeeded.count'=5;;;0;5 'jobs.failed.count'=0;;;0;5 'jobs.waiting.count'=0;;;0;5 'TALEND~P2TLNBUS200#job.failed.count'=1;;;0; 'TALEND~P2TLNBUS201#job.failed.count'=1;;;0; 'TALEND~P2TLNBUS202#job.failed.count'=1;;;0; 'TALEND~P2TLNBUS203#job.failed.count'=1;;;0; 'TALEND~P2TLNBUS204#job.failed.count'=1;;;0;
job 'TALEND/P2TLNBUS200' status: ended ok
job 'TALEND/P2TLNBUS201' status: ended ok
job 'TALEND/P2TLNBUS202' status: ended ok
job 'TALEND/P2TLNBUS203' status: ended ok
job 'TALEND/P2TLNBUS204' status: ended ok

All available options for a given mode can be displayed by adding the --help parameter to the command:

/usr/lib/centreon/plugins/ \
--plugin=apps::controlm::restapi::plugin \
--mode=jobs \

All available modes can be displayed by adding the --list-mode parameter to the command:

/usr/lib/centreon/plugins/ \
--plugin=apps::controlm::restapi::plugin \


Please find the troubleshooting documentation for the API-based plugins in this chapter.