---
title: "Installation and Setup v1.1.1"
canonical: "https://atomwatch.refined.site/space/CS/11108366/Installation%20and%20Setup%20v1.1.1"
format: markdown
---
# 1 Overview

AtomWatch comes with four dashboards.  You are encouraged to take these steps immediately upon installing AtomWatch:

1. Clone the dashboards so you can begin customizing them.  The originals are read-only.
2. Install all recommended Monitors that are part of AtomWatch.
3. Subscribe to alerts on these monitors as desired.

AtomWatch by Kitepipe is an Agent-based integration that collects metrics from Boomi processes, cluster nodes, and related infrastructure to inform both Datadog and Boomi customers about the health of the integration.

AtomWatch version 1.1.1 contains 4 dashboards, 13 custom metrics, and 13 monitors that report on Boomi execution statistics, cluster status, and infrastructure health. These metrics are available to Datadog and Boomi customers for extended time-trending analysis (over the standard of 30 days for Boomi Process Reporting availability).

Datadog customers who purchase AtomWatch must manage the Boomi Java Runtime in either an Atom or Molecule configuration. Kitepipe includes a one hour set-up and configuration session with the initial 14 Day Free Trial.

# 2 [About Kitepipe](https://www.kitepipe.com/)

Kitepipe is a Boomi Platinum Implementation Partner, and is the premier Boomi integration development team in North America. Kitepipe was founded in 2011 in response to the need for a Boomi-focused services team that could deliver all the promises of this powerful integration platform.

Today, the Kitepipe team of certified Boomi on-shore developers help dozens of Boomi customers quickly achieve business value with the industry-leading Boomi integration platform.

The Datadog service AtomWatch is a new offering from Kitepipe with a focus on Boomi managed services in AWS. Kitepipe is the leader in a number of integration areas, verticals, and domains, including AWS migrations of Boomi processes, AWS managed Boomi, Biotech vertical solutions built on Boomi, NetSuite, SAP, Coupa, Oracle, Workday, and HRIS, Data Mart/BI, and more endpoints.

# 3 Dashboards

The following dashboards are available to AtomWatch customers.

| Name | Purpose |
| --- | --- |
| **AtomWatch Overview for Boomi** | A dashboard displaying a high-level summary of Compute, Cluster, and Workload metrics. |
| **Boomi Workload Monitoring** | A dashboard displaying enhanced Process Reporting with associated graphs. |
| **Boomi Compute Monitoring** | A dashboard displaying infrastructure metrics to check resource health. |
| **Boomi Cluster Monitoring** | A dashboard about [Boomi-recommended cluster status inspection](https://help.boomi.com/bundle/integration/page/r-atm-Cluster_Status_panel.html). |

# 4 Log Collection

This integration makes API calls to the Boomi Platform on your behalf, retrieving execution records and sending them to Datadog as logs.

# 5 List of Recommended Monitors

The following monitors are provided. You can subscribe to alerts on each of these monitors, and create others as needed for your use cases:

| Name | Purpose |
| --- | --- |
| **Execution Duration Anomaly** | Detect long- and short-running executions. |
| **AtomWatch is Down** | Detect if AtomWatch has stopped working. |
| **Boomi "View File" is missing** | Detect if Boomi is not running on a cluster node. |
| **Boomi “View File” is too old** | Detect if a cluster node is offline or operating with lag. |
| **Boomi “View File” reports a problem** | Detect if a cluster node has reported a problem. |
| **Infrastructure - Molecule Node Disk Usage High** | Detect if a molecule node is running out of disk space. |
| **Infrastructure - Molecule Node CPU Usage High** | Detect if a molecule node is at high CPU usage. |
| **Infrastructure - Molecule Node Memory Usage High** | Detect if a molecule node is at high RAM usage. |
| **Infrastructure - API Gateway Node Disk Usage High** | Detect if an API gateway node is running out of disk space. |
| **Infrastructure - API Gateway Node CPU Usage High** | Detect if an API gateway node is at high CPU usage. |
| **Infrastructure - API Gateway Node Memory Usage High** | Detect if an API gateway node is at high RAM usage. |
| **Runtime Online Status** | Detect if runtimes are reporting heartbeat to Boomi datacenter |
| **Cannot call the Boomi Platform API** | When AtomWatch cannot reach the Boomi Platform API, then some dashboard widgets are not up-to-date and some monitors will fail to alert as desired.  This monitor is designed to tolerate a chosen length of Boomi Platform API downtime. |

# 6 Events

This integration retrieves AuditLog records from the Boomi API, and sends them to Datadog as events. The events are visible in filtered form in the Boomi Workload Monitoring Dashboard or in the [Events Explorer](https://app.datadoghq.com/event/explorer). You can build your own monitors to inspect the unfiltered AuditLog records.

# 7 Metrics

You can explore a list of metrics in the **Data Collected** tab. Metrics cover the following categories:

| Type | Categories | Definition |
| --- | --- | --- |
| Workload Metrics | - Executions
- Documents | Enhanced version of Boomi Process Reporting data. |
| Cluster Metrics | - File Existence
- File Age
- Reported Problems | Enhanced versions of Boomi Cluster Status data. |
| Infrastructure Metrics | - CPU
- Network
- Disk
- RAM | Standard Datadog infrastructure metrics in these categories. |

# 8 Setup

Follow the instructions below to install and configure this integration for an Agent running on a host server. Containerized environments are not supported.

Kitepipe support engineers are available to assist customers in configuring and installing the Boomi Monitoring suite. Several advanced features require mapping of server or node to Boomi resources in the config file. See the [Support](https://github.com/DataDog/marketplace/tree/kitepipe_boomiwatch/kitepipe_boomiwatch#support) section for more details.

## 8.1 Prerequisites

1. Boomi Atom or Molecule running on server or virtual server (not containerized).
2. Optionally, Boomi API Gateway running on server or virtual server.
3. Ability to remote into each server with admin permissions and edit files using the command line.
4. Admin privileges in your Boomi account.
5. Knowledge of how to create a user in Boomi, assign permissions, and [generate an API token](https://help.boomi.com/bundle/atomsphere_platform/page/int-Adding_API_tokens.html).
6. An email address to use as the login ID for a newly created Boomi user.

## 8.2 Boomi User Creation

This Datadog integration makes calls to the Boomi API on your behalf. You must supply Boomi user credentials to be used in these API calls. It is recommended to create a service user identity for this purpose.

Follow these steps:

1. In your Boomi account, create a service user with the following permissions:
  - API Access
  - Atom Management Read Access
  - Build Read Access
  - Execute
  - View Audit Logs
  - View Data
  - View Results
2. [Add this role](https://help.boomi.com/bundle/integration/page/t-atm-Attaching_a_role_to_an_Environment.html) to every Boomi Environment that you want to monitor.
3. Log in to Boomi as this user and generate an API token.
4. Save this user's login ID and the API token for later use.

## 8.3 Installing the Agent

> ⚠️ The Datadog Agent must be installed on each node of the Molecule or API Gateway.

1. If not already done, [download and install the Datadog Agent](https://app.datadoghq.com/account/settings#agent/overview) on the node.
2. Install AtomWatch with this command: `sudo -u dd-agent datadog-agent integration install --third-party datadog-kitepipe-atomwatch==1.1.1`.

## 8.4 Prepare the "Last Datetime File"

As part of making Boomi AtomSphere API calls, the integration stores a timestamp in a text file on your Molecule shared disk or Atom installation directory. You must create this file and set permissions manually. You only need to do this once because only one server or node will be making API calls.

- Remote into a Molecule node or your Atom server.
- From the [Boomi Atom Management - Startup Properties panel](https://help.boomi.com/bundle/integration/page/r-atm-Startup_Properties_panel.html), determine your Atom Installation Directory. You will use this in later steps.
- Create an empty file owned by `dd-agent` using this command: `sudo touch <YOUR_INSTALLATION_DIRECTORY>/work/kitepipe-atomwatch-last-end-datetime.txt && sudo chown dd-agent:dd-agent <YOUR_INSTALLATION_DIRECTORY>/work/kitepipe-atomwatch-last-end-datetime.txt`

## 8.5 Configuring the Agent

### 8.5.1 Edit datadog.yaml

In the `# tags` section, add the following values:

```
- env:<your environment name>
- role:<molecule, api-gateway, or atom>
- boomi-hostname:"<hostname of this server; must be in quotes>"
- integration:kitepipe-atomwatch

```

Uncomment `# process_config` and configure as follows:

```
process_config:
    enabled: true

```

### 8.5.1 Edit conf.yaml

An example configuration file can be found at `<DATADOG-AGENT-INSTALLATION-ROOT>/conf.d/kitepipe_atomwatch.d/conf.yaml.example`. Copy this to `conf.yaml` in the same directory using these commands:

```
cd <DATADOG-AGENT-INSTALLATION-ROOT>/conf.d/kitepipe_atomwatch.d
sudo cp conf.yaml.example conf.yaml
sudo chown dd-agent:dd-agent conf.yaml

```

Then, edit the `conf.yaml` as follows:

```
instances:

  - dd_api_key: <API_KEY>

    ## Uncomment the following if this is the node that will make Boomi API calls
    ##
    # boomi_api_url: https://api.boomi.com
    # boomi_api_userid: <LOGIN_ID_OF_BOOMI_USER>
    # boomi_api_token: <API_TOKEN_OF_BOOMI_USER>
    # boomi_account_id: <BOOMI_ACCOUNT_ID>

    ## Required
    ##
    boomi_atom_or_molecule_install_dir: <ABSOLUTE_PATH_OF_BOOMI_INSTALL_DIR>

    ## Optional - UNCOMMENT AND SUPPLY VALUES IF APPLIABLE
    ##
    # boomi_api_gateway_install_dir: <some absolute disk path>
    # boomi_molecule_node_id: '<BOOMI_MOLECULE_NODE_ID>'
    # boomi_api_gateway_node_id: '<BOOMI_API_GATEWAY_NODE_ID>'


```

- Restart the Datadog Agent: `sudo systemctl restart datadog-agent`.
- Verify that Datadog Agent is running the `kitepipe_atomwatch` check by running: `sudo -u dd-agent datadog-agent status`. If successful, you should see a recent "Last Successful Execution Date" as in the example below:

```
    kitepipe_atomwatch (1.1.1)
    --------------------------------
      Instance ID: kitepipe_atomwatch:3dcc48da6d736c4a [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/kitepipe_atomwatch.d/conf.yaml
      Total Runs: 1
      Metric Samples: Last Run: 12, Total: 12
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 7, Total: 7
      Average Execution Time : 55ms
      Last Execution Date : 2022-12-17 15:18:21 UTC (1671290301000)
      Last Successful Execution Date : 2022-12-17 15:18:21 UTC (1671290301000)`

```

# 9 Uninstallation

- Remote into each node where AtomWatch was installed.
  - Uninstall the Kitepipe AtomWatch Integration from the Datadog Agent: `$ sudo -u dd-agent datadog-agent integration remove datadog-kitepipe-atomwatch`.
  - Delete the `<DATADOG-AGENT-INSTALLATION-ROOT>/conf.d/kitepipe_atomwatch.d/conf.yaml` file.
  - Restart the Datadog Agent: `sudo systemctl restart datadog-agent`.
  - Verify that AtomWatch integration is no longer running: `sudo -u dd-agent datadog-agent status`. You should no longer see a "kitepipe_atomwatch" section in the output.
- Log on to the Boomi console.
  - Revoke the API token you created during AtomWatch installation.
  - Delete the Boomi user you created during AtomWatch installation.

# 10 Support

AtomWatch customers may send a troubleshooting request to `AtomWatch.Support@kitepipe.com`. Kitepipe support hours for AtomWatch are designated during the business hours of 9AM to 3PM across US and Canadian time zones. AtomWatch troubleshooting requests will be answered within 24 to 48 hours from the notification receipt to the AtomWatch email alias.

For best response results, include the customer name, Boomi configuration, and a brief description of the event or troubleshooting question. Enhanced support programs are available from Kitepipe upon request. 

# 11 Additional Setup

Some dashboard widgets will require additional setup steps.  Follow the instructions below to set up these widgets.

## Execution Duration Anomaly Widget

On the AtomWatch Overview dashboard, edit the “Execution Duration Anomaly” widget by clicking the pencil icon:

![image](media://bd3c7cf1-7233-4340-8b91-8df7f664b0ac)

You will see this screen below.  Edit the dropdown that says “Something went wrong…”:

![image](media://1a8338ae-2882-41b7-908f-49780f7db03d)

Change the dropdown to look like the following:

![image](media://e454e337-1037-4857-929f-b730ca72f975)

At the bottom right of the screen, click “Save”:

![image](media://6260b78f-68ce-4a7e-b1ed-5158e67ed051)

The widget will start showing data.  It is OK if there is a message about “not enough historical data”.  It will take up to a week for the algorithm to gather enough weekly seasonality data to detect anomalies:

![image](media://3db74e60-2a33-4ce7-bff5-f8e594102edb)

*NOTE: Be sure to make this same edit on the Execution Duration Anomaly widget on the Boomi Workload Monitoring dashboard.*

## “View File age” widget

On the AtomWatch Overview dashboard, edit the “View File age” widget by clicking the pencil icon:

![image](media://98ad50e8-6a0e-4840-b25c-4e6b6d7a8496)

You will see this screen below.  Edit the dropdown that says “Something went wrong…”:

![image](media://01ef964b-e458-4407-9123-0abc45be1c1f)

Change the dropdown to look like the following:

![image](media://59aeb771-0ede-48df-baa1-a4f99d29e21b)

At the bottom right of the screen, click “Save”:

![image](media://6260b78f-68ce-4a7e-b1ed-5158e67ed051)

The widget will start showing data:

![image](media://57d27a13-2280-4b47-ba9b-95902885a0fc)