Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/palourde/uchiwa-sensu

Sensu Chef cookbook for Uchiwa testing
https://github.com/palourde/uchiwa-sensu

Last synced: 10 days ago
JSON representation

Sensu Chef cookbook for Uchiwa testing

Awesome Lists containing this project

README

        

# uchiwa-sensu cookbook

This cookbook provides a standard Sensu environment for E2E testing of [Uchiwa](https://github.com/palourde/uchiwa).

# Requirements

* [sensu](https://github.com/sensu/sensu-chef) >= 1.0.0

# Usage

You should start both Sensu servers with: `vagrant up`

Or, if required, you can only start a specific version:
```
vagrant up server-0.12.6

vagrant up server-0.13.0

```

# Recipes

### uchiwa-sensu::server

Installs Sensu server with specified version (`node['sensu']['version']`)

### uchiwa-sensu::client

Installs Sensu client

### uchiwa-sensu::checks

Installs mock checks for e2e testing

### uchiwa-sensu::plugins

Install mock plugin for e2e testing

# Uchiwa config.json
```
{
"sensu": [
{
"name": "0.12.6",
"host": "10.20.30.40",
"port": 4567,
"timeout": 5
},
{
"name": "0.16.0",
"host": "10.20.30.41",
"port": 4567,
"timeout": 5,
"user": "admin",
"pass": "secret"
}
],
"uchiwa": {
"host": "0.0.0.0",
"port": 3000,
"refresh": 5
}
}
```

# Author

Author:: Simon Plourde ()