Skip to content

Instantly share code, notes, and snippets.

@nikushi
Created January 13, 2014 07:11
Show Gist options
  • Save nikushi/8395881 to your computer and use it in GitHub Desktop.
Save nikushi/8395881 to your computer and use it in GitHub Desktop.
クライアントに必要なコンフィグのメモ
@nikushi
Copy link
Author

nikushi commented Jan 13, 2014

/etc/sensu/conf.d/client.json

{
  "client": {
    "name": "agent",
    "address": "agent",
    "subscriptions": [ "webservers" ]
  }
}

@nikushi
Copy link
Author

nikushi commented Jan 13, 2014

/etc/sensu/conf.d/rabbitmq.json

{
  "rabbitmq": {
    "ssl": {
      "cert_chain_file": "/etc/sensu/ssl/cert.pem",
      "private_key_file": "/etc/sensu/ssl/key.pem"
    },
    "host": "monitor",
    "port": 5671,
    "vhost": "/sensu",
    "user": "sensu",
    "password": "mypass"
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment