AIOps

AIOps

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only

Automation of CP4MCM Monitoring Agent Installation

By DIVYA KAMATH posted Fri December 18, 2020 01:27 AM

  

This video blog explains how to compose a service in CP4MCM - Managed Service, for the automation of monitoring agent installation - while provisioning a VM.

Prerequisite:

When using the download_configpack.yml playbook to automatically download the config pack one must have Red Hat Ansible Tower and the IBM Cloud Pak (Monitoring) installed in the same cluster. Also cluster admin role binding has to be created as mentioned here.

Resources:

Terraform template source: https://github.com/diimallya/terraform-templates/tree/master/Create_T2_Micro_EC2

Ansible playbooks used:

            Extra variables

            account_id:
            configpack_type: icamagent
            target_dir: /tmp

             Extra variables
             src_image_file_to_download:
             Extra variables
             agent_image: /tmp/configured_image/cp4mcm_Agents_xlinux_2.0.tar.gz
             agent_name: os
Reference:
0 comments
19 views

Permalink