system input

This commit is contained in:
Leif Johansson 2020-03-31 08:35:25 +02:00
parent 9a67dc9e8c
commit 1e9a5f13af
No known key found for this signature in database
GPG key ID: D73AD6430AD478D6
2 changed files with 3 additions and 1 deletions

View file

@ -20,7 +20,7 @@ class eid::telegraf(String $version = "stable", Array $volumes = []) {
}
}
$_volumes = flatten(["/dev/log:/dev/log","/var/log:/var/log","/etc/telegraf:/etc/telegraf",$volumes])
$_volumes = flatten(["/dev/log:/dev/log","/var/log:/var/log","/etc/telegraf:/etc/telegraf","/proc:/proc:ro",$volumes])
sunet::docker_run {"telegraf":
image => "docker.sunet.se/eduid/telegraf",

View file

@ -0,0 +1,2 @@
[[inputs.system]]