Skip to content

marco-minervino/containerlab-collectors-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Testing telegraf and gnmic integration with SRLinux

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published