Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 908 Bytes

README.md

File metadata and controls

25 lines (15 loc) · 908 Bytes

Containerlab collectors test

This containerlab was forked from this example in order to play with gnmic and Telegraf collectors.

How to

  1. install containerlab
  2. stand up the lab instance

sudo containerlab deploy --topo prometheus.clab.yml

On the first run the telegraf container will always fail as it won't be able to mount the certificates since they're created on the first run. So a reboot of the lab and an edit of the topology file is needed:

  • sudo containerlab destroy --topo prometheus.clab.yml

  • remove the # from the Telegraf binding inside prometheus.clab.yml

        #- ./clab-collectors/.tls/ca/:/etc/telegraf/ssl-ca
        #- ./clab-collectors/.tls/telegraf/:/etc/telegraf/ssl-cert
  • save the file

  • sudo containerlab deploy --topo prometheus.clab.yml