Implementing the BladeLogic Server Automation example integration scenario
Perform the following steps to implement the BladeLogic-Server-Automation-example-integration-scenario.
- 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. - Create a module and rule:
- Create a TrueSight Orchestration module named Example Server Compliance Automation.
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'
- 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:- Receives the BladeLogic Server Automation SNMP trap
- Extracts the data about the compliance job
- Exports the BladeLogic Server Automation compliance report
- Extracts out-of-compliance servers from the report
- Creates a list of the out-of-compliance servers
- Create a remediation job for each out-of-compliance server:
- Create a workflow named Remediate Compliance Server.
- Ensure that this workflow performs the following actions:
- Uses the list of out-of-compliance servers as input
- Extracts the remediation job information
- Creates the BladeLogic Server Automation remediation job from the compliance job result
- Schedules the remediation job for execution
- Execute the integration:
- Ensure that the TrueSight Orchestration grid is running with all modules and adapters configured and activated.
- Verify that the remediation job is configured to send SNMP traps to the grid when compliance violations are found.
- 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*