This repository was forked from https://github.com/CiscoDevNet/DNACPrometheusExporter and is reference source code for a Prometheus Data Exporter for DNAC. The purpose of this fork is to be able to separate the functions of the downloaded Docker container (https://github.com/stefanprodan/dockprom) into separate containers and to update the JavaScript files to adopt ES6.
Cisco DNA Center was rebranded as Cisco Catalyst Center in 2023 and as such, the documentation in this repository will be updated accordingly.
- Node version v8.11.2 or beyond recommended. (Tested with node v 8.11.2)
- Docker 18.09.2 or beyond recommended. (Tested with docker 18.0.9.2). docker-compose should be available.
- Bash shell for helper scripts
- Cisco Catalyst Center version 1.2.6 and above
./init.sh All parameters are mandatory!
- - The IP address of your local machine that the web server and containers will bind to
- - Enterprise port/VIP of your Cisco Catalyst Center appliance
- - The username with API access to the Cisco Catalyst Center appliance
- - The password for the specified username
Example ./init.sh 1.2.3.1 9.8.7.6 admin admin_password
Browse http://localhost:9000/metrics whether metrics are seen Browse http://localhost:9090 and check whether metrics with dnac_ are exported. If the metrics are present, execute queries and examine results and graphs.
Console logs should indicate if there are issues in starting up docker or node. For checking prometheus and scraper connectivity check browser http://localhost:9090 -> Status -> Targets.
BSD 3 license
- https://github.com/stefanprodan/dockprom
- https://prometheus.io/
- https://www.cisco.com/c/en/us/products/cloud-systems-management/dna-center/index.html
- https://developer.cisco.com/docs/dna-center/
- https://learningnetwork.cisco.com/s/question/0D56e0000D2IZ9dCQG/catalyst-center-to-replace-dna-center-cisco-showcases-vision-to-simplify-networking-and-securely-connect-the-world-innovation-continues