https://github.com/smartcat-labs/smartcat-os-metrics
OS metrics monitoring and riemann reporting python library
https://github.com/smartcat-labs/smartcat-os-metrics
Last synced: 2 months ago
JSON representation
OS metrics monitoring and riemann reporting python library
- Host: GitHub
- URL: https://github.com/smartcat-labs/smartcat-os-metrics
- Owner: smartcat-labs
- License: apache-2.0
- Created: 2016-04-26T08:21:56.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-08-12T20:43:41.000Z (almost 9 years ago)
- Last Synced: 2025-02-07T11:14:39.968Z (4 months ago)
- Language: Python
- Homepage:
- Size: 28.3 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OS metrics reporter
### Description
Collects OS metrics and reports measurement to Riemann server.### Installation
At this point no package or installer is provided. Simply clone git repository or download package of master branch and unpack. Install dependencies using pip
```
pip install -r requirements.txt
```
and run with parameters
```
python start.py -h $RIEMANN_HOST
```
This command starts the reporter and keeps sending metrics until stopped.### Execution parameters
There are several execution parameters that can be provided to the start script:
```
-h riemann host (127.0.0.1 default)
-p riemann port (5555 default)
-i measurement and reporting period in SECONDS (1 default)
-d debug flag (logs at DEBUG level)
```### Reconnection mechanism
Basic reconnection mechanism is implemented keeping reporter up and running even if riemann server is down. When connection can be established again it will reconnect. All measurements collected in the meantime is discarded.