https://github.com/codex-team/devops-monitor
https://github.com/codex-team/devops-monitor
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/codex-team/devops-monitor
- Owner: codex-team
- Created: 2019-10-16T15:21:04.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-25T13:34:15.000Z (about 5 years ago)
- Last Synced: 2024-12-31T05:28:26.873Z (5 months ago)
- Language: Shell
- Size: 194 KB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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.