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:
sudo dpkg -i mon_1.0-1.deb
If you use CentOS/RHEL:
Download mon-1-0.src.rpm
Run:
sudo rpm –i mon-1-0.src.rpm
2. Run:
sudo crontab -e
3. Write into your crontab file:
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.