---
title: "Control-M (9.0.18)"
description: ""
url: "https://docs.itrsgroup.com/docs/geneos/7.11.0/collection/control-m-9-0-18/index.html"
---
## Overview

The Control-M plug-in allows you to monitor scheduled jobs that are running on a Control-M server.

This plug-in supports Control-M versions beginning 9.0.18, and is based on Control-M's REST API. For more information on supported Control-M versions, see the [Geneos Compatibility Matrix](https://docs.itrsgroup.com/docs/all/geneos/7x-geneos-compat-matrix/index.html#application-and-plugin-specific-information).

## Intended audience

This guide is directed towards Geneos users who want to set up a plug-in to monitor an existing Control-M solution.

As a user, you should be familiar with general administration of the Control-M solution, as well as its terminologies.

## Prerequisites

You need the following to set up the Control-M plug-in:

### Java requirements

- You must have Java installed on the machine running the Netprobe. For information on supported Java versions, see [Java support in Geneos Compatibility Matrix](https://docs.itrsgroup.com/docs/all/geneos/7x-geneos-compat-matrix/index.html#java-support).
- Once you have Java installed, configure the environment variables required by the Netprobe so that it can locate the required resource files. For guidance, see [Configure the Java environment](https://docs.itrsgroup.com/docs/geneos/7.11.0/collection/netprobe/configuration/configure-the-java-environment/index.html).

The Java installation and environment configuration is a common source of errors for users setting up Java-based components and plug-ins. It is recommended to read [Configure the Java environment](https://docs.itrsgroup.com/docs/geneos/7.11.0/collection/netprobe/configuration/configure-the-java-environment/index.html) to help you understand your Java installation.

### Control-M credentials

- Control-M server host name or IP address

  
**Note**

 Hosts defined in the **Host** fields, either in the [plugin configuration](#basic-tab) or in [job view filters](#job-view-filters), are trusted by default.

It is strongly recommended to enable [server verification](#advanced-tab) under the **Advanced** configuration to ensure configured hosts are properly secured and verified before use. 


- Control-M server port
- Control-M username and password

The Netprobe does not allow plaintext connections to the Control-M server, as it enforces an SSL connection to the Control-M server API. If you attempt to connect to a non-SSL port, this causes a connection timeout and displays this error message:


**Error**

 Failed to connect to Control-M server: Unrecognised SSL message, plaintext connection? 


## Set up Control-M monitoring

Setup involves two main tasks:

1. Create the Control-M sampler.
2. Associate the Control-M sampler with a managed entity.

### Create the Control-M sampler

1. In the Gateway Setup Editor, create a new sampler by right-clicking the **Samplers** folder and selecting **New Sampler**.
2. Enter a name for this sampler. For example, enter the name "ctrl-m" in the **Name** field.
3. Under the **Plugin** field, click the drop-down list and select `control-m`.
4. In the **Basic** tab below the **Plugin** field, enter the Control-M server information for the following fields:

    - In the **Host** field, select either `name` or `ipAddress`, then enter the host name or IP address.
    - In the **Port** field, enter the port number.
    - In the **Username** field, enter the username.
    - In the **Password** field, select either `stdAES` to set your password directly in the sampler, or `var` to enter the password you set in the managed entity.

    
**Note**

 You can toggle between `data` and `var` for the host **Name**, **Port**, and **Username** fields. This toggle option allows you to define either a text or numerical value (`data`) or variable (`var`) for these fields. 

5. Click **Save current document** ![](https://docscdn.itrsgroup.com/geneos/images/Icons/save16x16.png "icon") to apply your changes.
  
**Success**

 The sampler can now be associated with a managed entity. This sampler provides the default **JobView** dataview, which shows all jobs running in the Control-M server. 


The **JobView** dataview appears by default when you do not specify any **Dataviews** in the Control-M sampler. You can define your own dataviews based on filters of the Control-M parameters.

### Associate the Control-M sampler with a managed entity

1. In the Gateway Setup Editor, create a new managed entity by right-clicking the **Managed entities** folder and selecting **New Managed entity**.
2. Enter a name for this managed entity. For example, enter the name "ctrl-m" in the **Name** field.
3. In the **Options** field, select the probe on which you want the sampler to run.
4. Under the **Sampler** field, click `Add new`.
5. In the text field under **Ref**, select the sampler you just created from the drop-down list.
6. Click **Save current document** ![](https://docscdn.itrsgroup.com/geneos/images/Icons/save16x16.png "icon") to apply your changes.


**Success**

 After you save your changes to the managed entity, the Control-M dataview appears under the managed entity on the Active Console state tree. 


## Metrics and dataviews

By default, the Control-M plug-in shows all metrics in its dataview. You can add custom dataviews by filtering jobs by certain parameters, and by arranging the metrics you want to see in columns. For more information on filtering, see [Job view filters](https://docs.itrsgroup.com/docs/geneos/7.11.0/collection/control-m-9-0-18/index.html#job-view-filters).

<div class="table-container">
<table class="legacy-table" style="width: 100%; mc-table-style: url('../Resources/TableStyles/ref_2_col_table.css'); margin-left: 0; margin-right: auto;" class="TableStyle-ref_2_col_table" cellspacing="0">
                    <col class="TableStyle-ref_2_col_table-Column-Column1"/>
                    <col class="TableStyle-ref_2_col_table-Column-Column1"/>
                    <thead>
                        <tr class="TableStyle-ref_2_col_table-Head-Header1">
                            <th class="TableStyle-ref_2_col_table-HeadE-Column1-Header1">Field</th>
                            <th class="TableStyle-ref_2_col_table-HeadD-Column1-Header1">Description</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>jobId</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>Unique ID that references a specific job. Each job in the run has a <code>jobId</code>.</p>
                                <p>This metric serves as the primary key and is always the first column in the dataview.</p>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>application</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>Application that a job falls under.</p>
                                <p>Applications provide a common name to a set of related jobs. These jobs do not necessarily have to run at the same time.</p>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>name</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Name of the job.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>type</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>Indicates the type of job running.</p>
                                <p>Possible values:</p>
                                <ul>
                                    <li><code>Command </code>&#8212; runs a platform command line option.</li>
                                    <li><code>Script </code>&#8212; runs a script.</li>
                                    <li><code>File Transfer</code> &#8212; performs file transfer.</li>
                                    <li><code>File Watcher</code> &#8212; monitors file activity.</li>
                                    <li><code>Database </code>&#8212; runs an SQL script.</li>
                                    <li><code>Hadoop </code>&#8212; runs a job based on Hadoop objects.</li>
                                    <li><code>Dummy </code>&#8212; always ends successfully without running any commands.</li>
                                    <li><code>Folder </code>&#8212; displays a job folder, rather than a job. This type is natively supported in Geneos.</li>
                                </ul>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>status</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>Job status.</p>
                                <p>Possible values:</p>
                                <ul>
                                    <li><code>Ended OK</code> &#8212; completed successfully.</li>
                                    <li><code>Ended Not OK</code> &#8212; ended in failure.</li>
                                    <li><code>Wait User</code> &#8212; waiting for user confirmation.</li>
                                    <li><code>Wait Resource</code> &#8212; waiting on a resource to be available.</li>
                                    <li><code>Wait Host</code> &#8212; waiting on an agent or remote host to be available.</li>
                                    <li><code>Wait Workload</code> &#8212; waiting due to a workload limit.</li>
                                    <li><code>Wait Condition</code> &#8212; waiting for a condition.</li>
                                    <li><code>Executing</code> &#8212; currently executing.</li>
                                    <li><code>Status Unknown </code>&#8212; unknown.</li>
                                </ul>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>startTime</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>ISO 8601 date and timestamp of when the job starts running.</p>
                                <p>Format: <code>yyyymmddhhmmss</code></p>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>endTime</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>ISO 8601 date and timestamp of when the job is terminated.</p>
                                <p>Format: <code>yyyymmddhhmmss</code></p>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>estimatedStartTime</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>Estimated date and time when the next job runs are expected to begin. Up to 50 queued job runs can be estimated in advance.</p>
                                <p>
Estimations are based on run times of previous jobs runs, and are available only if the Batch Impact Manager or Control-M Forecast is active in your environment.</p>
                                <p>Format: <code>yyyymmddhhmmss</code></p>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>estimatedEndTime</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>Estimated date and time when the next job runs are expected to end. Up to 50 queued job runs can be estimated in advance.</p>
                                <p>
Estimations are based on run times of previous jobs runs, and are available only if Batch Impact Manager or Control-M Forecast is active in your environment.</p>
                                <p>Format: <code>yyyymmddhhmmss</code></p>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>elapsedTime</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>Time elapsed since the start time, measured in Unix time.</p>
                                <p class="note">Note: This field is calculated based on the local time of the Netprobe against the local time of the Control-M server. If the two components are not in the same time zone, then the elapsed time may display different values.</p>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>description</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Description of the job.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>ctm</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Name of Control-M server where the job is running.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>deleted</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>Indicates if the job was deleted.</p>
                                <p>Possible values:</p>
                                <ul>
                                    <li><code>true</code>
                                    </li>
                                    <li><code>false</code>
                                    </li>
                                </ul>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>folder</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>Folder that a job falls under.</p>
                                <p>A folder is a container of jobs which share the same settings.</p>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>folderId</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Unique ID that references a specific folder.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>held</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>Indicates if the job was held.</p>
                                <p>Possible values:</p>
                                <ul>
                                    <li><code>true</code>
                                    </li>
                                    <li><code>false</code>
                                    </li>
                                </ul>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>host</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Host name of the Control-M server where the job is running.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>logUri</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">URI to the job log.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>numberOfRuns</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Number of job runs.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>orderDate</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>Date on which the job is scheduled to run.</p>
                                <p>Format: <code>yymmdd</code></p>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>outputUri</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">URI to the job output.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyB-Column1-Body1"><code>subApplication</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyA-Column1-Body1">
                                <p>Sub-application that a job falls under.</p>
                                <p>Sub-applications provide a common name to a set of related jobs. These jobs do not necessarily have to run at the same time.</p>
                            </td>
                        </tr>
                    </tbody>
                </table>
                
</div>

### Show Waiting Info

Beginning Control-M version 9.0.19.220, a parameter called `Waiting Info` is available. This parameter displays the reason for why a job in waiting has not been executed yet.

You can look at the waiting info from the dataview for a job in waiting. Right-click the row and select **Show Waiting Info**:

![Control-M Show Waiting Info](https://docscdn.itrsgroup.com/geneos/images/plug-ins/control-m-show-waiting-info.png)

The Output dockable appears, displaying the applicable reason:

![Control-M Show Waiting Info output](https://docscdn.itrsgroup.com/geneos/images/plug-ins/control-m-show-waiting-info-output.png)

For more information, see [Control-M plugin in Gateway Commands](/collection/../processing/monitoring-and-alerts/geneos_commands_tr/#control-m-plugin).

## Job view filters

You can create custom dataviews which show jobs based on filters you specify. Filters can be specified for a dataview by adding pairs of parameters and their matching criteria to the Control-M sampler.


**Note**

  When naming your dataviews on the Control-M plug-in, make sure that these have unique names. If multiple dataviews have the same name, then only one of the views will show on the state tree. 


![test](https://docscdn.itrsgroup.com/geneos/images/netprobe/control-m-images/control-m-dataview-filters-ui-refresh.png)

Filters are optional. If you do not specify a filter, then the Control-M plug-in displays all metrics.

<div class="table-container">
<table class="legacy-table" style="width: 100%;margin-left: 0;margin-right: auto;mc-table-style: url('../Resources/TableStyles/ref_2_col_table.css');" class="TableStyle-ref_2_col_table" cellspacing="0">
                    <col class="TableStyle-ref_2_col_table-Column-Column1"/>
                    <col class="TableStyle-ref_2_col_table-Column-Column1"/>
                    <thead>
                        <tr class="TableStyle-ref_2_col_table-Head-Header1">
                            <th class="TableStyle-ref_2_col_table-HeadE-Column1-Header1">Field</th>
                            <th class="TableStyle-ref_2_col_table-HeadD-Column1-Header1">Description</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>limit</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Number of job records to retrieve.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>jobname</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Retrieves jobs whose name contains the string specified.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>type</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>Retrieves jobs whose type is specified.</p>
                                <p class="note">Note: In general, the Control-M API matches to jobs. Folders are not matched independently to most parameters. Instead, folders are matched based on the parameters of its child jobs. This parameter enables you to retrieve folders, in addition to other Control-M job types.</p>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>ctm</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Retrieves jobs falling under the Control-M server specified.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>jobId</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Retrieves jobs whose ID contains the string specified.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>folder</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Retrieves jobs falling under the folder specified.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>folderLibrary</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Retrieves jobs whose folder is located in the folder library specified.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>application</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Retrieves jobs falling under the specified application.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>subApplication</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Retrieves jobs falling under the specified sub-application.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>host</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Retrieves jobs based on their host.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>hostGroup</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Retrieves jobs based on their host group.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>description</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Retrieves jobs based on its description.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>runAs</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>Retrieves jobs run by the user specified.</p>
                                <p>This parameter refers to the user on the operating system.</p>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>command</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>Retrieves jobs that contain the command specified.</p>
                                <p>This particularly applies to command-type jobs.</p>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>filePath</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>Retrieves jobs based on its associated file path.</p>
                                <p>This particularly applies to script-type jobs.</p>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>fileName</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>Retrieves jobs based on its associated filename.</p>
                                <p>This particularly applies to script-type jobs.</p>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>workLoadPolicy</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Retrieves jobs based on the workload policy that is linked to the resource.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>ruleBasedCalendar</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>Retrieves jobs based on rule-based calendars assigned.</p>
                                <p>Format:</p><code>{ Included": ["calendar1"], "Excluded": ["calendar2"] }</code>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>resourceMutex</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>Retrieves jobs based on the mutex type.</p>
                                <p>Possible values:</p>
                                <ul>
                                    <li><code>Exclusive</code>
                                    </li>
                                    <li><code>Shared</code>
                                    </li>
                                </ul>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>resourceSemaphore</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Retrieves jobs based on the number of semaphores assigned.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>orderDateFrom</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>Retrieves jobs that are scheduled to run after the specified date.</p>
                                <p>Format: <code>yymmdd</code></p>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>orderDateTo</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>Retrieves jobs that are scheduled to run before the specified date.</p>
                                <p>Format: <code>yymmdd</code></p>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>fromTime</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>Retrieves jobs that started after the time specified.</p>
                                <p>Format: <code>hhmm</code></p>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>toTime</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>Retrieves jobs that started before the time specified.</p>
                                <p>Format: <code>hhmm</code></p>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>status</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>Job status to retrieve.</p>
                                <p>For more information on Control-M job statuses, see  <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/collection/control-m-9-0-18/index.html#metrics-and-dataviews">Metrics and dataviews</a>.</p>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>neighborhood</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>Enables you to search for predecessor and dependent jobs.</p>
                                <p>This parameters is used in conjunction with <code>jobId</code>, <code>direction</code>, and <code>depth</code>. If you use the <code>neighborhood</code> parameter without the <code>jobId</code>, <code>direction</code>, or <code>depth</code>, then the dataview displays no rows.</p>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1"><code>direction</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>Sets which relationship direction to look for when filtering related jobs.</p>
                                <p>Possible values:</p>
                                <ul>
                                    <li><code>depend </code>&#8212; searches jobs that depend on the specified job.</li>
                                    <li><code>predecessor </code>&#8212; searches jobs that the specified job depends on.</li>
                                    <li><code>radial </code>&#8212; searches both directions</li>
                                </ul>
                                <p>This parameter is used in conjunction with <code>neighborhood</code>. If the <code>neighborhood </code>parameter is missing, then this parameter is ignored.</p>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyB-Column1-Body1"><code>depth</code>
                            </td>
                            <td class="TableStyle-ref_2_col_table-BodyA-Column1-Body1">
                                <p>Number of job levels from the specified job.</p>
                                <p>This parameter is used in conjunction with <code>neighborhood</code>. If the <code>neighborhood </code>parameter is missing, then this parameter is ignored.</p>
                            </td>
                        </tr>
                    </tbody>
                </table>
                
</div>

### Filter matching behaviour

The Control-M plug-in can parse simple criteria with no operators required:

![test](https://docscdn.itrsgroup.com/geneos/images/netprobe/control-m-images/control-m-parameters-criteria-ui-refresh.png)

Control-M also natively supports a filtering language to help refine your criteria. For more information, see [Pattern matching strings](https://documents.bmc.com/supportu/9.0.21.000/en-US/Documentation/Pattern-Matching_Strings.htm).

## Plugin configuration


**Caution**

 When you update the configuration of certain Java-based plugins, including this one, the Netprobe running it has to restart. Be aware of other potentially unrelated plugins that can be affected when you configure this particular plugin. 


### Basic tab

The Control-M plugin requires your organisation's Control-M credentials to run successfully.

![Control-M plugin Basic tab](https://docscdn.itrsgroup.com/geneos/images/netprobe/control-m-images/controlm-plugin-basic-tab.png)

| Field | Description |
|-------|-------|
| Host | Control-M server host name or IP address.
Choose the appropriate field on the drop-down list (`name` or `ipAddress`) when specifying the host.
If you choose the name field, you can toggle between entering a text or numerical value (`data`) or a variable (`var`). |
| Port | Control-M server port.
You can toggle between entering a numerical value (`data`) or a variable (`var`). |
| Username | Control-M username to log in with.
You can toggle between entering a text or numerical value (`data`) or a variable (`var`). |
| Password | Control-M password to log in with. Choose the appropriate field when specifying the password: - `stdAES` — use this to input your plaintext password. If you select stdAES, you can define your password directly in the sampler and store it in standard AES encryption hash in the Gateway.
- `var` — use this to pass the password as a variable. The variable is defined in **Managed entity** > **Advanced** > **Var**. This is useful for situations where you have multiple samplers that use the same credentials.
- `extPwd` — use this for passwords provided by an external provider. For more information, see
[Securing your Gateway with an external password provider](https://docs.itrsgroup.com/docs/geneos/7.11.0/security/access-controls/gateway_secure_passwords/index.html#securing-your-gateway-with-an-external-password-provider). |
| Dataviews | You can add custom dataviews by filtering jobs by certain parameters and by arranging the metrics you want to see in columns. See [Job view filters](#job-view-filters). |

### Advanced tab

The Control-M plug-in has a few more configuration options in the Advanced tab:

![Control-M plugin Advanced tab](https://docscdn.itrsgroup.com/geneos/images/netprobe/control-m-images/controlm-plugin-advanced-tab-7-9.png)

| Field | Description |
|-------|-------|
| Timeout | Number of seconds the Control-M plug-in waits for a response from the Control-M server.
If the Control-M server takes longer than the timeout value, then the Control-M plug-in reports an error.
You can toggle between entering a numerical value (`data`) or a variable (`var`). |
| Verify server | When ticked, it enables server authentication.
When using server authentication, check that you have the Control-M server certificate in your Java TrustStore. 
**Tip**

Enabling server verification is strongly recommended to ensure a secure and reliable connection. 
 |
| Row limit | Specifies the maximum number of rows displayed in the dataview.
Default value: `200`
Mandatory: No |

