sensu / uchiwa-chef

Other
33 stars 40 forks source link

Configurable site/datacenter name in Uchiwa json config #11

Closed jbrook closed 10 years ago

jbrook commented 10 years ago

The datacenter name now always appears as 'Sensu'. It would be really nice to be able to override this with an attribute. We run Uchiwa in a couple of different locations.

failshell commented 10 years ago

It does already. It's configurable through Chef attributes:

[
  {
    'name' => 'DC1',
    'host' => '10.10.10.10',
    'port' => 4567,
    'path' => '',
    'ssl' => false,
    'timeout' => 5000
  },
  {
    'name' => 'DC2',
    'host' => '10.20.20.20',
    'port' => 4567,
    'path' => '',
    'ssl' => false,
    'timeout' => 5000
  }
]
jbrook commented 10 years ago

I see now. Thank you. Not sure how I missed that.

On 21 Aug 2014, at 03:27, Jean-Francois Theroux notifications@github.com wrote:

It does already. It's configurable through Chef attributes:

[ { 'name' => 'DC1', 'host' => '10.10.10.10', 'port' => 4567, 'path' => '', 'ssl' => false, 'timeout' => 5000 }, { 'name' => 'DC2', 'host' => '10.20.20.20', 'port' => 4567, 'path' => '', 'ssl' => false, 'timeout' => 5000 } ] — Reply to this email directly or view it on GitHub.