Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 2.78 KB

USECASE.md

File metadata and controls

31 lines (24 loc) · 2.78 KB

Monitor an ACI Fabric from your favorite Webex Room - ChatOps

Monitor your Data Center with an user-friendly bot. This repository contains a Go-based web server, which listens to Webex webhooks notifications and interacts with the APIC REST API to retrieve information about the operational status of your ACI Fabric.

aci-chatbot

This application allows you to retrieve operational, topology, event/fault and endpoint information from the ACI Fabric by simply typing short and human-readable commands in a Webex room. These is the list of the currently supported commands by the aci-chatbot:

•	/cpu	->	Get APIC CPU Information 💾
•	/ep	->	Get APIC Endpoint Information 💻. Usage /ep [ep_mac] 
•	/events	->	Get Fabric latest events ❎.   Usage /events [user:opt] [count(1-10):opt] 
•	/faults	->	Get Fabric latest faults ⚠️. Usage /faults [count(1-10):opt] 
•	/help	->	Chatbot Help ❔
•	/info	->	Get Fabric Information ℹ️
•	/neigh	->	Get Fabric Topology Information 🔢. Usage /neigh [node_id] 
•	/websocket	->	Subscribe to Fabric events 📩

The bot takes advantage of the APIC REST API to query and filter information from the APIC Management Information Tree (MIT). Additionally, the /websocket command leverages the APIC WebSocket functionality, to get instant notifications once any instance of a defined MO/Class is created, modified or deleted.

Related Sandbox

Links to DevNet Learning Labs