Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Latest commit

 

History

History
37 lines (30 loc) · 1.08 KB

puppet.md

File metadata and controls

37 lines (30 loc) · 1.08 KB

Puppet for dockerized raintank-collector

This for your Puppet inspiration. Final implementation is up to you:

# Jan Garaj - www.monitoringartist.com
# Used Puppet module - https://github.com/garethr/garethr-docker

class { 'docker':
  version => 'latest',
}->
docker::image { 'monitoringartist/raintank-collector':
  image_tag => 'latest',
}->
docker::run { 'raintank-collector':
  image => 'monitoringartist/raintank-collector',
  ports => ['8284'],
  env   => [
    'RAINTANK_apiKey=<RAINTANK_API_KEY>', 
    'RAINTANK_collector_name=<COLLECTOR_NAME>',
    'RAINTANK_numCPUs=1',
    'RAINTANK_logLevel=ERROR',
    'RAINTANK_probeServerPort=8284'
  ],
}

Author

Devops Monitoring zExpert, who loves monitoring systems, which start with letter Z. Those are Zabbix and Zenoss.

Professional monitoring services:

Monitoring Artist