cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
260
Views
0
Helpful
1
Replies

Syslog ACI - lifecycle states

JanWillem
Level 1
Level 1

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]

1 Reply 1

AshSe
VIP
VIP

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:

Using the ACI GUI:

  1. Navigate to the Faults Tab:

    1. Log in to the APIC (Application Policy Infrastructure Controller) GUI.
    2. Go to the "Operations" tab.
    3. Select "Faults" from the left-hand menu.
  2. View Fault Lifecycle:

    1. In the Faults tab, you can see a list of current faults.
    2. Click on a specific fault to view its details.
    3. The fault details will include a history of the fault, showing when it was raised, acknowledged, and cleared.

Using the REST API:

You can use the REST API to query fault information, including their lifecycle. Here is an example of how to do this:

  1. Get Faults:

    1. Use the following API endpoint to get a list of faults:
      GET /api/class/faultInst.json
  2. Get Fault Lifecycle:

    1. To get detailed information about a specific fault, including its lifecycle, you can query the faultRecord class:
      GET /api/class/faultRecord.json
    2. This will provide a history of faults, including timestamps for when they were raised, acknowledged, and cleared.

Using the CLI:

You can also use the CLI to check fault details and their lifecycle.

  1. Log in to the APIC CLI:

    1. Use SSH to log in to the APIC.
  2. Show Faults:

    1. Use the following command to display current faults:
      show fault
  3. Show Fault Lifecycle:

    1. To get detailed information about a specific fault, including its lifecycle, use:
      show fault detail
    2. This command will provide detailed information about each fault, including timestamps for when the fault was raised, acknowledged, and cleared.

 

Happy Troubleshooting!!! 

AshSe 

Please rate this post if it was helpful; your feedback is appreciated! 

Review Cisco Networking for a $25 gift card

Save 25% on Day-2 Operations Add-On License