Implementing the BladeLogic Server Automation example integration scenario


Perform the following steps to implement the BladeLogic-Server-Automation-example-integration-scenario.

  1. Use the BladeLogic Server Automation application to create a compliance job.
    Set the job to notify the TrueSight Orchestration platform, by way of an SNMP trap, when out-of-compliance servers are discovered.
  2. Create a module and rule:
    1. Create a TrueSight Orchestration module named Example Server Compliance Automation.
    2. Create a rule to check for job type in the SNMP trap.

      Ensure that the SMNP OID test in the rule complies with one of the following samples:

      //varbind/value[preceding-sibling::oid/text()='.1.3.6.1.4.1.12788.1.1.8']/text()='30'

      or

      //varbind/value[preceding-sibling::oid/text()='.1.3.6.1.4.1.12788.1.1.8']/text()='200'='true'
  3. Create the Extract Out of Compliance Servers workflow to capture SNMP trap and build the out-of-compliance server list.
    The Extract Out of Compliance Servers workflow must extract the information about each out-of-compliance server from the compliance report generated by the compliance job.
    The Extract Out of Compliance Servers workflow performs the following actions:
    1. Receives the BladeLogic Server Automation SNMP trap
    2. Extracts the data about the compliance job
    3. Exports the BladeLogic Server Automation compliance report
    4. Extracts out-of-compliance servers from the report
    5. Creates a list of the out-of-compliance servers
  4. Create a remediation job for each out-of-compliance server:
    1. Create a workflow named Remediate Compliance Server.
    2. Ensure that this workflow performs the following actions:
      1. Uses the list of out-of-compliance servers as input
      2. Extracts the remediation job information
      3. Creates the BladeLogic Server Automation remediation job from the compliance job result
      4. Schedules the remediation job for execution
  5. Execute the integration:
    1. Ensure that the TrueSight Orchestration grid is running with all modules and adapters configured and activated.
    2. Verify that the remediation job is configured to send SNMP traps to the grid when compliance violations are found.
    3. Execute the compliance job.
      If out-of-compliance jobs are found, a trap is sent to and captured by the monitor adapter. The compliance job identifier is extracted from the trap and is used to generate the list of out-of-compliance servers. The list of servers is then used to build and schedule remediation jobs.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

TrueSight Orchestration Platform 22.2