11-21-2024 12:28 AM
Hi all,
is there a way to find out what the lifecycles are for certain faults, especially when the fault is cleared/deleted.
We are creating an alert in another system and the trigger condition is for example:
[raised]
then we will wait for 30 minutes to actually create an incident but if there is a reset condition the alert should be cleared and incident will not be created.
When checking some /var/log/exteral/messages the reset condition is not the same every time, is this fault dependant what it will choose? Is there a way to find out?
[cleared] or [deleted]
As you can see below it is not always the same, and will EVERY fault when solved get the status [cleared] or [deleted]
[F3083][deleted][
[F0101][retaining][equipment-failed][cleared]
[F1548][deleted][packets-dropped][cleared]
11-21-2024 08:51 PM
Hey @JanWillem , in response to your question:
is there a way to find out what the lifecycles are for certain faults, especially when the fault is cleared/deleted.
here is the response:
Yes, in Cisco Application Centric Infrastructure (ACI), you can track the lifecycle of faults, including when they are raised, cleared, or deleted. This can be done through the ACI GUI, REST API, or using the Command Line Interface (CLI). Here are some methods to find out the lifecycle of faults:
Navigate to the Faults Tab:
View Fault Lifecycle:
You can use the REST API to query fault information, including their lifecycle. Here is an example of how to do this:
Get Faults:
GET /api/class/faultInst.json
Get Fault Lifecycle:
GET /api/class/faultRecord.json
You can also use the CLI to check fault details and their lifecycle.
Log in to the APIC CLI:
Show Faults:
show fault
Show Fault Lifecycle:
show fault detail
Happy Troubleshooting!!!
AshSe
Please rate this post if it was helpful; your feedback is appreciated!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide