You should see a confirmation at the bottom indicating that “Data source is working: Figure 8: confirmation that Data source is workingĪlso, Notice that you can add many plugins as shown below: Figure 8a: Adding Plugins ![]() Then click Save & test Figure 7: Populating data source For this example, we’ll use Prometheus Figure 6: Adding Prometheus Data Sourceįill in some name and the IP_of_your_ubuntu VM:9090. Now, click on Data sources and Add data source Figure 5: Adding data source to GrafanaĪs you can see you can pull in your data from multiple sources (even Elasticsearch). T he password value is configured in grafana/config.monitoring file Figure 4: Browsing to Grafana The username to login is admin and the password is cisco. Now, let’s go to Grafana and create a dashboard: Point your browser to In my case since my vm ip is 10.1.100.13, Fkgure 3: Looking at Prometheus Graph for node_memory_Active_anon_bytes Please look at different statistics to see which ones can be important for you. Notice that as you type in the Expressions field, you will be presented with all the different statistics parameters that you can look at. In the Expressions type in “ node_memory_Active_anon_bytes” and you can see the statistics for that in Table format or Graph format. Now browse to the IP of the Ubuntu VM on port 9090 using http. (make sure you have the 5 below containers running) ![]() In case you don't have this and need help, please see the bottom part or the readme file at: Ĥ) vi prometheus.yml and modify line 65, 69, 74, 78 as appropriateĥ) Add more APICs/cAPICs as appropriate as indicated in line 82 Figure 3: Modifying the prometheus.yml file (step 4 & 5 above) 6) docker-compose up -dħ) execute the command: docker ps -format '' | sort |nl Now let’s go ahead and install docker containers for bringing up Prometheus/Grafana 1) You need to have a VM that's already running docker and docker-compose. Repeat the steps for all APIC 5.2.3 / cAPIC 25.x that you wish to monitor
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |