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

https://github.com/codex-team/devops-monitor


https://github.com/codex-team/devops-monitor

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

        

# DevOps monitor

Collects data from local server and sends it to example.com

Server must respond with status 204.

OpenAPI spec: `openapi.json`.

### Installing

#### 1. If you use Ubuntu/Debian:

Download `mon_1.0-1.deb`

Run:

```shell
sudo dpkg -i mon_1.0-1.deb
```

#### If you use CentOS/RHEL:

Download `mon-1-0.src.rpm`

Run:

```shell
sudo rpm –i mon-1-0.src.rpm
```

#### 2. Run:

```shell
sudo crontab -e
```

#### 3. Write into your crontab file:

```shell
SHELL=/bin/bash

*/1 * * * * /opt/mon/mon.sh http://example.com/server-data?server-name=abc.com
```
In this example the data is being collected every 1 minute, but you can set any other time interval.