Skip to content

Instantly share code, notes, and snippets.

@zshamrock
Created December 2, 2016 14:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zshamrock/285b82cae71352cd767e5eecbd2bc0bf to your computer and use it in GitHub Desktop.
Save zshamrock/285b82cae71352cd767e5eecbd2bc0bf to your computer and use it in GitHub Desktop.
Telegraf input plugins snippet
[[inputs.mongodb]]
servers = [“mongodb://<username>:<password>@mongo.dev.picnicinternational.com:27000/dev?authSource=admin”]
[[inputs.rabbitmq]]
url = “https://<node>.rmq.cloudamqp.com”
name = “dev-rabbitmq” # optional tag
username = “<username>”
password = “<password>”
## A list of nodes to pull metrics about. If not specified, metrics for
## all nodes are gathered.
nodes = [“rabbit@<node>-01”]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment