BMC TrueSight Pulse Integration

BMC TrueSight Pulse Integration

BMC TrueSight Pulse is a SaaS based service that allows customers to monitor their entire IT environment from a single point of control and is uniquely designed to deal with challenges of modern, highly distributed applications.

​What OpsGenie offer BMC TrueSight Pulse users?

BMC TrueSight Pulse send notifications for alarms. With BMC TrueSight Pulse Integration, OpsGenie acts as a dispatcher for these alarms, determining the right people to notify based on on-call schedules, notifying them using email, text messages (SMS), phone calls and iPhone & Android push notifications, and escalating alerts until the alert is acknowledged or closed.


Functionality of the integration

  • When an alert is created in BMC TrueSight Pulse, an alert is created in OpsGenie automatically through the integration.

Add BMC TrueSight Pulse integration in OpsGenie

  1. Please create an OpsGenie account if you haven't done already
  2. Go to OpsGenie BMC TrueSight Pulse Integration page,
  3. Specify who should be notified for BMC TrueSight Pulse alerts using the "Teams" and "Recipients" fields. Auto-complete suggestions will be provided as you type. 
  4. Copy the Api Key by clicking on the copy button or selecting.
  5. Click on "Save Integration".

Configuration on BMC TrueSight Pulse

  1. In BMC TrueSight Pulse, go to Settings -> Actions
  2. Click "Add Action" -> Choose "opsgenie"
  3. Set the Action name to "OpsGenie" and paste the Api Key you copied before
  4. Click "Save."
  5. Go to Settings -> Alarms
  6. Edit an existing alarm or Add a new one
  7. Under "Actions", add OpsGenie action
  8. Make sure "Notify for every change" to receive notifications for each server in the group, monitored by this alarm.

Sample payload sent from BMC TrueSight Pulse

Create Alert payload:
{
  "alarmName": "CPU usage is high",
  "status": "TRIGGERED",
  "metric": {
    "id": "cpu",
    "name": "CPU utilization",
    "type": "percent"
  },
  "affectedServers": {
    "boundary": {
      "isSet": true,
      "hostname": "boundary",
      "aggregate": "avg",
      "metric": "CPU utilization",
      "value": 0.027916727272727274,
      "threshold": 0.02,
      "time": 1421887800000,
      "link": "https://premium.boundary.com/home/1829/standard?ival=60&marker=1421887800000!cpu",
      "text": {
        "isSet": true,
        "serverName": "boundary",
        "link": "https://premium.boundary.com/home/1829/standard?ival=60&marker=1421887800000!cpu",
        "labelHTML": "Server boundary's avg CPU utilization is 2.8% which is greater than the threshold of 2.0%",
        "labelText": "Server boundary's avg CPU utilization is 2.8% which is greater than the threshold of 2.0%"
      }
    }
  },
  "boundary2": {
    "isSet": true,
    "hostname": "boundary2",
    "aggregate": "avg",
    "metric": "CPU utilization",
    "value": 0.027916727272727274,
    "threshold": 0.02,
    "time": 1421887800000,
    "link": "https://premium.boundary.com/home/1829/standard?ival=60&marker=1421887800000!cpu",
    "text": {
      "isSet": true,
      "serverName": "boundary2",
      "link": "https://premium.boundary.com/home/1829/standard?ival=60&marker=1421887800000!cpu",
      "labelHTML": "Server boundary's label",
      "labelText": "Server boundary's avg CPU utilization is 2.8% which is greater than the threshold of 2.0%"
    }
  },
  "resolvedServers": {
    "boundary": {
      "isSet": false,
      "hostname": "boundary",
      "aggregate": "avg",
      "metric": "CPU utilization",
      "value": 0.004986516666666667,
      "threshold": 0.02,
      "time": 1421887380000,
      "text": {
        "isSet": false,
        "serverName": "boundary",
        "labelHTML": "Server boundary's avg CPU utilization has returned to the acceptable 0.5%",
        "labelText": "Server boundary's avg CPU utilization has returned to the acceptable 0.5%",
        "link": "https://premium.boundary.com/home/1829/standard?ival=60&marker=1421887380000!cpu"
      }
    }
  }
}
This payload is parsed by OpsGenie as:
{
  "alarmName": "CPU usage is high",
  "status": "TRIGGERED",
  "metricId": "cpu",
  "metricName": "CPU utilization",
  "type": "percent",
  "affectedServers": {
    "boundary": {
      "isSet": true,
      "hostname": "boundary",
      "aggregate": "avg",
      "metric": "CPU utilization",
      "value": 0.027916727272727274,
      "threshold": 0.02,
      "time": 1421887800000,
      "link": "https://premium.boundary.com/home/1829/standard?ival=60&marker=1421887800000!cpu",
      "text": {
        "isSet": true,
        "serverName": "boundary",
        "link": "https://premium.boundary.com/home/1829/standard?ival=60&marker=1421887800000!cpu",
        "labelHTML": "Server boundary's avg CPU utilization is 2.8% which is greater than the threshold of 2.0%",
        "labelText": "Server boundary's avg CPU utilization is 2.8% which is greater than the threshold of 2.0%"
      }
    }
  },
  "resolvedServers": {
    "boundary": {
      "isSet": false,
      "hostname": "boundary",
      "aggregate": "avg",
      "metric": "CPU utilization",
      "value": 0.004986516666666667,
      "threshold": 0.02,
      "time": 1421887380000,
      "text": {
        "isSet": false,
        "serverName": "boundary",
        "labelHTML": "Server boundary's avg CPU utilization has returned to the acceptable 0.5%",
        "labelText": "Server boundary's avg CPU utilization has returned to the acceptable 0.5%",
        "link": "https://premium.boundary.com/home/1829/standard?ival=60&marker=1421887380000!cpu"
      }
    }
  }
}
 

Sample alert