This project provides a Telegraf, InfluxDB, and Grafana (TIG) stack to monitor a small CML network running ISIS. I use these components as part of demos for AI agents that I built.
Note
I won’t be adding new features on request. If you need more features, go ahead and fork the repo.
Scenario
The stack monitors a small CML network running ISIS
Telegraf collects metrics via NETCONF (powered by ncpeek).
InfluxDB stores these metrics.
Grafana visualizes telemetry data and alerts on specific conditions.
Grafana Dashboard
Grafana Alert
There is one alert that is defined in alerts.yaml:
if avgNeighbors(30sec) < avgNeighbors(30min) : send Alarm
When the average number of ISIS neighbors in a lapse of 30 second is less than the average number of ISIS neighbors in a lapse of 30 minutes, the alarm triggers a webhook for the agent to start working.
You can update the Grafana contact points if you want to send an alert to another system.
📌 Webhooks (Optional)
There are two contact points for generic webhooks. The GRAFANA_WEBHOOK and GRAFANA_WEBHOOK2 are available.:
Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer: Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.