- It is essential that a specific package has 100% roll out
- Any failure needs to be notified to specific personnel to allow remediation to take place
- Service desk integration is not an option
- CA Client Automation r12.5
- CA IT Client Manager r12.5
- CA Software Delivery r12.5
A Query based Policy can be created to Monitor the specific patch for deployment failures and can send several different types of notification including email.
- If you have not already done so you need to configure the email integration in the configuration policy
see TEC559206 for details on how to do this
- Next create the query to monitor the specific package
- Expand "Queries"
- Right Click "All Queries"
- Select "New?"
- Double click "Computers"
- Expand "Software"
- Click on "Software Packages"
- In the "Select Field" Dialogue Expand "Deployment"
- Select "SW Name"
- Against Package Name keep the operator = and Select the Package Name you wish the alert to be generated for in the drop down.
- Against Status Select keep the operator = and Select "Deployment Failed" in the drop down.
- Click OK
- Click OK
- Name your Query
- Now Create the Alert
- Expand "Policies"
- Right Click "Query Based"
- Select "New..."
- Name the Policy
- Set the Policy Severity to "Alert"
- Select the Query you defined above
- Click on "Evaluation"
- Choose the frequency you wish this to be evaluated
- Click on "Send Mail" under "Add Action"
- Enter the email addresses you wish to receive the alert
- Type the message you wish sent, Note there are Macro's that can be used for data that will help locate the failed job.
For example if you named the Policy " Failed package 1 installs" and defined the following in the message.
$POLICY$ $NAME$ $DATE$ $TIME$
You would receive the Message Policy: Failed package 1 installs
Message: Failed package 1 installs <Agent Name> YYYY-MM-DD HH:SS