README.md 653 Bytes
Newer Older
Stuart Fisher's avatar
Stuart Fisher committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Infrastructure Monitoring

Monitor infrastructure using simple tests

* Ping a host
* Make a http request
* Check a database is available
* Check zocalo services are available

Test results are outputted in json format to be ingested in a basic web status page

## Installation

```bash
pip install -e .
cp examples/tests.yml tests.yml
```

## Configuration

Define some tests:

Ping a host:
```yaml
mygroup:
  - type: ping
    host: localhost
    name: Ping localhost
```

Make a request:
```yaml
mygroup:
  - type: request
    url: https://localhost
    name: Test localhost server
    # optionally allow this test to fail
    allow_fail: true
```