Hello everybody, today we will see how to send Control-M alerts to a central monitoring software


The aim is to send alerts and logs from Control-M to an event manager system such as Patrol/ BMC Truesight or Nagios.
We will see together how to link Control-M to a central monitoring tool,and for that,Control-M admin and monitoring admin must work hand in hand 😊.So let’s start!

Copy the Control-M/EM MIB file to your SNMP server:

First, we must copy the MIB file to the  SNMP server (send it to the monitoring application admin as he will have to use it for his monitoring tool’s configuration)
The BMC-CONTROLMEM-MIB.txt contains SNMP variable and trap format that Control-M/EM uses to send alerts to an event management system via SNMP 
For more details follow this link:
Configure ControlM/EM the system parameters
Reminder on Alerts and Xalerts:
Alerts and Xalerts can be sent to a central monitoring tool,trigger a script and pass infos as parameters and of course be configured to send notifications when a problem occurs ( more details on bmc support site )

-Alerts can receive shouts from jobs (must be configured on the job)
-Alerts can display communication messages such as agent availability or communication to Control-M/Server errors

Exceptions alerts (Xalerts):
-Generated by the EM server of internal errors from components
-We can view these alerts under Manage/Exception panel
From the CCM, define the following system parameters, as described in Defining Control-M/EM system parameters:

  • SNMPHost: Define the hostname of the SNMP server where the alerts are sent.
  • SNMPSendActive: Change the value to 1 to generate SNMP messages for Active Alerts.
  • SendSNMP: Change the value to 0 to send alerts to SNMP server only.
  • SendAlertNotesSnmp: Change the value to 1 if you want to send the NOTES field to the SNMP server.
  • XAlertsEnableSending: Change the value to 1 to enable xAlert sending. Note that default value is 1.
  • XAlertsSnmpHosts: Define the hostname of the SNMP server where the xAlerts are sent.
  • XalertsSendSnmp: Change the value to 1 to send xAlerts to SNMP server only (you can also define it to send Xalerts to a script or both.) For more information about Alert parameters, see Control-M/EM general parameters.

To proceed, we will use the Control-M Configuration Manager and configure it from Control-M/EM the system parameters part:

The search bar allows you to display every parameter linked to SNMP and alert sending

Most important fields are:
Name: indicate the name of the parameter
Description: indicate the parameter role
Refresh method: indicate if Control-M component should be restarted (recycle) for changes to take effect
Following this information, we will activate SNMP trap sending and define the host corresponding to the monitoring machine
Especially we will focus on configuring and sending SNMP  traps to the central monitoring tool by adding it’s address in the appropriate field

Note that the refresh method is a critical point for changes to take effect:

Automatic: no action needed for the change to take effect
Manual: action needed for the change to take effect
Recycle: Cycle the related component for the change to take effect
Here we will have to recycle components for the changes to take effect:
Select on the gateway the option “recycle”

Once the gateway indicates connected status the changes are taken in account
Test to send alert to central monitoring tool.
As from Control-M side the SNMP sending configuration is done, the final step is to test by sending an alert to the alert window with a failing test job for example
Check if the central monitoring server is receiving the trap (synchronize with the monitoring application administrator). If your administrator confirm the trap is received then everything is ok


Now you know how to send traps to an external monitoring tool. For more information and further configuration please go to BMC site and check the documentation
You can go to the help part of your Control-M workload client., also following this link for example you can have the SNMP trap format:
Feel free to check dbi-services bloggers and share with us you experience and tips of BMC Control-M!