PagerDuty alerts for deployment failure - AVI

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

PagerDuty alerts for deployment failure - AVI

L0 Member

Often Venafi fails to deploy certificates to the AVI even though the renewal was successful. I need events triggered to my PagerDuty system when this fails. Does anyone have guidance to get proper automation set up for deployment failures?

1 REPLY 1

L2 Linker

Hello @Robin Curtis​, you can trigger certain actions to occur based on provisioning errors, or other log events, using Notification Rules and Notification Channels.

 

If your AVI provisioning fails, you could create a notification rule that is triggered when that error occurs, which is generally this event:

Certificate Manager - Certificate Processing Failed - Failed to complete the configured operations for certificate (\VED\Policy\Certificates\1-Day_Certs\Empty\IIS Cert WS2022-C1N1). Check the logs of the certificate, CA, or application for details.

And the corresponding notification rule to capture that event and specific folder path would be as follows:

(eventid == 0x00091011) && (component like "\\VED\\Policy\\Certificates\\1-Day_Certs\\Empty")

image 

From here, you would create a Channel that is triggered by the notification rule which can perform a follow up action. Like sending an email, running a PowerShell script, sending data to a SQL database, sending data to a Syslog server, etc.

 

In my example, I've triggered an Adaptable Log Channel which will run a custom PowerShell script that makes an API call to PagerDuty to notify about the failure. See an example Debug Logging log file generated after a provisioning failure occurs in TPF and a follow up API call is made to a PagerDuty endpoint with certificate details.

image 

Here is an example script which may be helpful: Example: creating a ServiceNow incident for expiring certificates

  • 31 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!