This repository is reference source code for a Prometheus Data Exporter for DNAC.
- 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
./init.sh All parameters are mandatory
Example ./init.sh 1.2.3.1 1.2.3.4 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