/monitoring-practice-with-netconf

Tool to fetch monitoring data from the always on IOS-XE router in the DevNet sandbox. Uses NETCONF, Telegraf, and Prometheus.

Primary LanguagePython

Monitoring using NETCONF

I started this on a Saturday, just because I wanted to better understand:

  • NETCONF
  • Telegraf
  • Working with time series data on Prometheus

All just for fun!

Requirements

Have docker-compose installed, alongside Docker.

Running this tool

docker-compose build
docker-compose up

Set the username, password, and port for NETCONF related files (netconf-*.py) in the telegraf/ folder.

Once the apps are up and running, you can view the Prometheus console at localhost:9090 on your browser.

PromQL queries supported

  • intf_stats_in_octets
  • intf_stats_in_errors
  • intf_stats_out_octets
  • intf_stats_out_errors
  • cpu_process_consumed_bytes
  • memory_pool_percent_used